Hello everyone,

My situation is that my playbook calls a role to split my hosts up using 
group_by. I then immediately call another role in which I want to use the 
newly created groups.

The problem is that in the second role I cannot (to my knowledge) start new 
plays within ../role/task/main.yml to use the *hosts:* option to limit by 
these new groups. Can I use *when* to limit which tasks run in the second 
role instead (I realize this might cause a lot of skipped tasks)?

Please let me know if my description is too brief/confusing, I didn't want 
to make anyone read a novel.

Thank you,
Mark

-- 
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