Add documentation about vars used in roles at the play level (#66907)
This commit is contained in:
parent
adf73d47ec
commit
c8568a5c94
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ You can pass other keywords to the ``roles`` option:
|
|||
|
||||
When you add a tag to the ``role`` option, Ansible applies the tag to ALL tasks within the role.
|
||||
|
||||
When using ``vars:`` within the ``roles:`` section of a playbook, the variables are added to the play variables, making them available to all tasks within the play before and after the role. This behavior can be changed by :ref:`DEFAULT_PRIVATE_ROLE_VARS`.
|
||||
|
||||
Including roles: dynamic re-use
|
||||
-------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue