summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2016-02-18 04:20:35 -0800
committerToshio Kuratomi <toshio@fedoraproject.org>2016-02-18 04:20:35 -0800
commit86b8dc0e7965c885268999648325985e52bd0084 (patch)
treeedf87115d513971895b5368a0e79af19ad44ec34 /examples
parent54942ee8ffc6168c82c207510d3edc7eedc6f941 (diff)
downloadansible-86b8dc0e7965c885268999648325985e52bd0084.tar.gz
Add a configuration setting that allows the user to specify printing of task arguments in the header.display-play-args
Fixes #14554
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 076320d723..9c5b3bedc1 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -98,6 +98,16 @@
# task is skipped.
#display_skipped_hosts = True
+# by default, if a task in a playbook does not include a name: field then
+# ansible-playbook will construct a header that includes the task's action but
+# not the task's args. This is a security feature because ansible cannot know
+# if the *module* considers an argument to be no_log at the time that the
+# header is printed. If your environment doesn't have a problem securing
+# stdout from ansible-playbook (or you have manually specified no_log in your
+# playbook on all of the tasks where you have secret information) then you can
+# safely set this to True to get more informative messages.
+#display_args_to_stdout = False
+
# by default (as of 1.3), Ansible will raise errors when attempting to dereference
# Jinja2 variables that are not set in templates or action lines. Uncomment this line
# to revert the behavior to pre-1.3.