Hi, would you so kind to to tell me is it possible to use no_log option with ad-hoc commands?
I want to prevent logging in /var/log/messages or /var/log/syslog on remote server when I run “ansible test-server -m command -a uptime” for example.
Hi, would you so kind to to tell me is it possible to use no_log option with ad-hoc commands?
I want to prevent logging in /var/log/messages or /var/log/syslog on remote server when I run “ansible test-server -m command -a uptime” for example.
not currently but this PR will enable a global setting to control this
(which would also apply to adhoc)
https://github.com/ansible/ansible/pull/12528