add option to ignore $legacy variable style substitution

This commit is contained in:
Matt Coddington 2013-05-06 09:48:52 -04:00 committed by Michael DeHaan
commit 542eeeb5d6
3 changed files with 13 additions and 0 deletions

View file

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