no_log with bin/ansible ?

40 views
Skip to first unread message

Ken Anderson

unread,
May 8, 2015, 11:18:40 AM5/8/15
to ansible...@googlegroups.com
Is there any way to use no_log with ansible ad-hoc commands?

Brian Coca

unread,
May 8, 2015, 12:42:19 PM5/8/15
to ansible...@googlegroups.com
not currently.


--
Brian Coca

Ken Anderson

unread,
May 14, 2015, 11:15:59 AM5/14/15
to ansible...@googlegroups.com
I found that if I changed lines 48 and 49 in normal.py and recompiled it, remote logging was disabled. :-)
I'm not sure what other features might be affected by this, but this minor change accomplished what I wanted.
Ken

-         if self.runner.no_log:
-            module_args += " NO_LOG=True"
       
+        #if self.runner.no_log:
+        module_args += " NO_LOG=True"
Reply all
Reply to author
Forward
0 new messages