mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed bad tag example
This commit is contained in:
parent
ad37a91514
commit
50dfd4b057
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ You may also apply tags to roles::
|
||||||
|
|
||||||
And you may also tag basic include statements::
|
And you may also tag basic include statements::
|
||||||
|
|
||||||
- include: foo.yml tags=web,foo
|
- include: foo.yml
|
||||||
|
tags: [web,foo]
|
||||||
|
|
||||||
Both of these apply the specified tags to every task inside the included
|
Both of these apply the specified tags to every task inside the included
|
||||||
file or role, so that these tasks can be selectively run when the playbook
|
file or role, so that these tasks can be selectively run when the playbook
|
||||||
|
|
Loading…
Reference in a new issue