summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2015-09-25 23:57:03 -0400
committerBrian Coca <brian.coca+git@gmail.com>2015-09-25 23:57:28 -0400
commit37a918438b2363a66c5d7a7bb1320b68fd4460c7 (patch)
tree88900af89464ab9e7172370f1e7fa820829e73d4 /examples
parentb757798f3edd139f9bde9774e4f6e41a24295a42 (diff)
downloadansible-37a918438b2363a66c5d7a7bb1320b68fd4460c7.tar.gz
task logging revamp
* allow global no_log setting, no need to set at play or task level, but can be overriden by them * allow turning off syslog only on task execution from target host (manage_syslog), overlaps with no_log functionality * created log function for task modules to use, now we can remove all syslog references, will use systemd journal if present * added debug flag to modules, so they can make it call new log function conditionally * added debug logging in module's run_command
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index e79fa4ee84..4f61dc4fbc 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -177,6 +177,13 @@ fact_caching = memory
#retry_files_enabled = False
#retry_files_save_path = ~/.ansible-retry
+
+# prevents logging of task data, off by default
+#no_log = False
+
+# prevents logging of tasks, but only on the targets, data is still logged on the master/controller
+#managed_syslog = True
+
[privilege_escalation]
#become=True
#become_method=sudo