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


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/6fd4505b-a10b-46c2-a4ba-08155bd2fd39n%40googlegroups.com.

Reply via email to