---
- name: install and configure a basic set of tools
gather_facts: true
hosts:
- is
roles:
- { role: monitoring, tags: monitoring }
- { role: other, tags: other }---
dependencies:
- { role: monitoring-basics }
---
- include: bm-crc.yml tags=monitoring:crc
- include: bm-hostnotes.yml tags=monitoring:hostnotes
- include: bm-vital.yml tags=monitoring:vital--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/2fe87927-b537-4ac7-ad19-d1bb9562ca5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is happening because you have narrowed the scope of your tags, and the dependent role is only inheriting the "monitoring" tag from its parent role. If you still need to have your deps run when other tags are specified, you can add them to the list of tags on the dependency:
- dependencies:
- { role: monitoring a basics, tags: monitoring:crc }
The same will go for your other tags, which you can add to the list.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwxsnL1THN-m3PM3vEOM1CH7aATKMogdrvd%2BCzwucroKQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFi9HAJ%2B0%2BV5RuTJYxRqpRtLxyisQeBUW_JCc%3DC1kc4otQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/deb92d92-9b90-41a7-94e8-dfe777a1a18d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFiQ-SqyoOUt3RpDCYuUiYTpJZOZ8B2tWKMZ%2BunnzhMW0A%40mail.gmail.com.