mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Allow role variables to be optionally kept in a private scope
This commit is contained in:
parent
a155f65a89
commit
b6c52ce115
3 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue