Limit Log Output

Hello, I was wondering is there a way I can drastically reduce the amount of logging that is output while a set of tasks is running? At the very least we’d like to try to limit/eliminate the ‘info’ logging, would be even cooler if it also showed the short-hand status ‘changed, passed, etc’

no_log: true did not accomplish what we wanted

Thanks!

I’m not sure exactly what logging you are meaning. If you are trying to customize the Ansible output during play execution you can pass various options to the default callback plugin that will change what output is shown: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/default_callback.html

There are also a number of other callback plugins that you might suit your needs. You can list the available ones with “ansible-doc -t callback -l”. And here’s a link to the docs: https://docs.ansible.com/ansible/latest/plugins/callback.html