Add a configuration setting that allows the user to specify printing of task arguments in the header.

Fixes #14554
This commit is contained in:
Toshio Kuratomi 2016-02-18 04:20:35 -08:00
commit 86b8dc0e79
4 changed files with 53 additions and 3 deletions

View file

@ -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.