Add documentation about vars used in roles at the play level (#66907)

pull/56603/merge
Sam Doran 5 years ago committed by GitHub
parent adf73d47ec
commit c8568a5c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save