I am on Ansible 2.9
Is there any way we can Hide/Skip these output from showing? ...ignoring
tasks are always flooding the output.
I have tried the below options separately.
export ANSIBLE_DISPLAY_SKIPPED_HOSTS=false
display_skipped_hosts = False
stdout_callback = full_skip
Example Output:
TASK [Load domain based var file if it exists] ****************************************************************************************************************************************************************************************************************
fatal: [example-host1]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'example.com.yml'\nSearched in:\n\t/home/spidy/my_task/vars/example.com.yml\n\t/home/spidy/my_task/example.com.yml\n\t/home/spidy/my_task/vars/example.com.yml\n\t/home/spidy/my_task/example.com.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
...ignoring
fatal: [example-host2]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'example.com.yml'\nSearched in:\n\t/home/spidy/my_task/vars/example.com.yml\n\t/home/spidy/my_task/example.com.yml\n\t/home/spidy/my_task/vars/example.com.yml\n\t/home/spidy/my_task/example.com.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
...ignoring
I wish we have some option there to skip these annoying output :(.
Hope someone already came across this in their thoughts!