no_log option with ad-hoc commands

141 views
Skip to first unread message

nadzorov

unread,
Sep 26, 2015, 8:14:55 AM9/26/15
to Ansible Project

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.

Brian Coca

unread,
Sep 26, 2015, 8:17:27 AM9/26/15
to Ansible Project
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


--
Brian Coca

Luca Berruti

unread,
Sep 26, 2015, 3:53:25 PM9/26/15
to Ansible Project
Reply all
Reply to author
Forward
0 new messages