summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael DeHaan <michael@ansibleworks.com>2013-06-18 19:31:08 +0200
committerMichael DeHaan <michael@ansibleworks.com>2013-06-18 19:31:08 +0200
commitbac81be3f9382b0cc2df6a3a4a23b004f6725ae0 (patch)
treeb80fdd6c0c3c29d9e24b4b5fe0024dd140f916a7 /examples
parentTweak error messages for undefined variables feature. (diff)
downloadansible-bac81be3f9382b0cc2df6a3a4a23b004f6725ae0.tar.xz
ansible-bac81be3f9382b0cc2df6a3a4a23b004f6725ae0.zip
Add undefined variables feature to example config file.
Diffstat (limited to 'examples')
-rw-r--r--examples/ansible.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
index 35af8efd38..a889176fe3 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -69,6 +69,10 @@ module_name = command
, replacing {file}, {host} and {uid} and strftime codes with proper values.
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
+# if set, Ansible will raise errors when attempting to redeference Jinja2
+# variables that are not set in templates or action lines.
+# error_on_undefined_vars = True
+
# set plugin path directories here, seperate with colons
action_plugins = /usr/share/ansible_plugins/action_plugins
callback_plugins = /usr/share/ansible_plugins/callback_plugins