Hello,
I’m trying to silence some specific warnings from playbook output in ansible-2.9.27.
I tried creating a custom callback plugin based on the default callback plugin.
overloading _handle_warnings(self, res): method did not change anything.
the warning I’m trying to suppress are from:
lib/ansible/executor/task_executor.py:
[WARNING]: Using a variable for a task's 'args' is unsafe in some situations (see https://docs.ansible.com/ansible/devel/reference_appendices/faq.html#argsplat-unsafe)
lib/ansible/plugins/action/raw.py:
[WARNING]: raw module does not support the environment keyword
how can I stop these warning without silencing all warnings via ansible.cfg options or env variable equivalent.
Thank you for your help