I am using Ansible and created a Playbook for deployment. I defined
ansible.cfg and now tasks output are going to this log file. I want to send only few task's log into this log file. How can I achieve this ?
One option is to use
no_log: True attribute but this is not displaying the logs on console.
So my requirement is to display all task's logs in console but I want to send only few task's log to my log file.