summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatt Coddington <coddington@gmail.com>2013-05-06 15:48:52 +0200
committerMichael DeHaan <michael@ansibleworks.com>2013-05-11 20:06:01 +0200
commit542eeeb5d6a18bfa631d9366e4aa0f69d54cbb69 (patch)
treea874e9ab6e22f68ca60619160e5aa0b3a370afee /examples
parentChange filesystem module message. (diff)
downloadansible-542eeeb5d6a18bfa631d9366e4aa0f69d54cbb69.tar.xz
ansible-542eeeb5d6a18bfa631d9366e4aa0f69d54cbb69.zip
add option to ignore $legacy variable style substitution
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 e11f0541f1..6536550c1c 100644
--- a/examples/ansible.cfg
+++ b/examples/ansible.cfg
@@ -102,6 +102,13 @@ sudo_exe=sudo
#
# hash_behaviour=replace
+# How to handle variable replacement - as of 1.2, Jinja2 variable syntax is
+# preferred, but we still support the old $variable replacement too.
+# If you change legacy_playbook_variables to no then Ansible will no longer
+# try to do replacement on $variable style variables.
+#
+# legacy_playbook_variables=yes
+
# if you need to use jinja2 extensions, you can list them here
# use a coma to separate extensions, e.g. :
# jinja2_extensions=jinja2.ext.do,jinja2.ext.i18n