mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
clarified tag usage
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
Tags
|
||||
====
|
||||
|
||||
If you have a large playbook it may become useful to be able to run a
|
||||
specific part of the configuration without running the whole playbook.
|
||||
If you have a large playbook it may become useful to be able to run a specific part of the configuration without running the whole playbook.
|
||||
|
||||
Both plays and tasks support a "tags:" attribute for this reason.
|
||||
You can **ONLY** filter tasks based on tags from the command line with `--tags` or `--skip-tags`.
|
||||
Adding "tags:" in any part of a play (including roles) adds those tags to the contained tasks.
|
||||
|
||||
Example::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user