Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Includes and tags
12 views
Skip to first unread message
John Vintiner
unread,
Dec 15, 2016, 12:19:25 PM
12/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
I am trying to use a tag with an include. The include runs another play that triggers roles.
The documention says that I should be able to use the below, however when using this all tagged items run!
- include: foo.yml
tags: [web,foo]
Haa anyone else faced this issue?
I am using the latest ansible version.
John
Brian Coca
unread,
Dec 15, 2016, 12:25:41 PM
12/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
That adds the tag to all the included tasks, it does NOT restrict to the tasks that have that tag.
----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages