mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix roles language in docs (#25811)
* Correct tag behavior with regards to roles * Remove trailing spaces * Furthe clarify include vs. import tag behavior
This commit is contained in:
@@ -177,7 +177,7 @@ Or, again, using the newer syntax::
|
|||||||
- baz
|
- baz
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
This *tags all of the tasks in that role with the tags specified*, overriding any tags that are specified inside the role. If you find yourself building a role with lots of tags and you want to call subsets of the role at different times, you should consider just splitting that role into multiple roles.
|
This *tags all of the tasks in that role with the tags specified*, appending to any tags that are specified inside the role. The tags in this example will *not* be added to tasks inside an ``include_role``. Tag the ``include_role`` task directly in order to apply tags to tasks in included roles. If you find yourself building a role with lots of tags and you want to call subsets of the role at different times, you should consider just splitting that role into multiple roles.
|
||||||
|
|
||||||
Role Duplication and Execution
|
Role Duplication and Execution
|
||||||
``````````````````````````````
|
``````````````````````````````
|
||||||
|
|||||||
Reference in New Issue
Block a user