I have a role such:

tasks/main.yaml

---
- include: part1.yaml tags=part1
- include: part2.yaml tags=part2

tasks/part1.yaml

---
- name: "part1.1 This does stuff"
  file: ...
  tags: part1_1

- include: oft_used_taskset.yaml do=stuff tags=part1_2
 
What I was expecting is that tasks in oft_used_taskset.yaml would also be 
tagged with part1 from the very top level but this isn't happening - if I 
set skip tags to part1, the include tasks still get run. The work around is 
to use

 include: oft_used_taskset.yaml do=stuff tags=part1_2,part1

This looks like a bug at first pass, but I want to check before raising an 
issue over in GitHub. I'm used Ansible 1.4.4

Cheers,
Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to