Fixed documentation in playbooks_variables.rst

This commit is contained in:
kustodian 2014-07-18 20:29:25 +02:00
parent cc6ad40534
commit dea19070e2

View file

@ -1029,7 +1029,7 @@ can set variables in there and make use of them in other roles and elsewhere in
- { role: something_else } - { role: something_else }
.. note:: There are some protections in place to avoid the need to namespace variables. .. note:: There are some protections in place to avoid the need to namespace variables.
In the above, variables defined in common_settings are most definitely available to 'app_user' and 'something_else' tasks, but if In the above, variables defined in common_settings are most definitely available to 'something' and 'something_else' tasks, but if
"something's" guaranteed to have foo set at 12, even if somewhere deep in common settings it set foo to 20. "something's" guaranteed to have foo set at 12, even if somewhere deep in common settings it set foo to 20.
So, that's precedence, explained in a more direct way. Don't worry about precedence, just think about if your role is defining a So, that's precedence, explained in a more direct way. Don't worry about precedence, just think about if your role is defining a