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 -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/e5867663-8212-44dd-a67c-dd85104fd997n%40googlegroups.com.