I am new to Ansible and Python. We have the following requirements.
Writing logs given in the playbook. Like
tasks:The 'write_log' should have the following:
We have tried custom callback plugin and achieved the second requirement to get the output of the 'copy' module, but unable to get custom message given in the playbook.
Kindly suggest how can we combine both.
Thanks in advance