My goal is to use a single tag to run specific roles independently but have dependent roles run as well with only the single tag.
My roles are in a playbook:
playbook.yml
roles:
role: roleA
tags: roleA <- for lack of a better name
role: roleB
tags: roleB
...
roles/roleA/meta/main.yml
...
dependencies:
- { role: roleA, roleB }
What I want to do is run ansible-playbook ... --tags roleA and have roleB run as a dependency every time before roleA runs.
How can I do this?
Thanks,
-Mark