Allow role variables to be optionally kept in a private scope

This commit is contained in:
James Cammarata 2015-07-01 11:32:44 -04:00
commit b6c52ce115
3 changed files with 10 additions and 2 deletions

View file

@ -71,6 +71,11 @@ timeout = 10
# this can also be set to 'merge'.
#hash_behaviour = replace
# by default, variables from roles will be visible in the global variable
# scope. To prevent this, the following option can be enabled, and only
# tasks and handlers within the role will see the variables there
#private_role_vars = yes
# list any Jinja2 extensions to enable here:
#jinja2_extensions = jinja2.ext.do,jinja2.ext.i18n