Hello,

I have the following inventory:

Test.inventory
[GroupA]
Host1
[GroupB]
Host1

GroupA and GroupB contain the same variables but with different values (e.g. 
filename). It seems that every time the playbook runs for this inventory, it 
does the steps once for the host (i.e. only for one of the groups).
What I want to achieve, is to run the playbook for Host1 twice (once for each 
group).

Is there any way to achieve this (maybe via roles)? Am I misusing the groups 
module?

The Ansible version I am using is 2.3.

Best Regards,
Konstantinos

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c03ae460-f1ea-4023-881a-ae80364aeaa1%40googlegroups.com.

Reply via email to