clarified tag usage
This commit is contained in:
parent
1e08e9a55f
commit
e5f7a22215
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
Tags
|
Tags
|
||||||
====
|
====
|
||||||
|
|
||||||
If you have a large playbook it may become useful to be able to run a
|
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.
|
||||||
specific part of the configuration without running the whole playbook.
|
|
||||||
|
|
||||||
Both plays and tasks support a "tags:" attribute for this reason.
|
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::
|
Example::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue