Hi,
I have several inventories i use for my different environments (test, ci, 
production, etc.). in my inventory files i use static IP addresses as hosts 
(this is required, although i'm not sure it matters for my question)

Basically my inventory would look like this
[child1]
ip1

[child2]
ip2

[parent:children]
child1
child2

and the play has "host: parent" as the hosts to run a particular play on.

This generally works fine except when in my env ip1==ip2. When that happens 
the play only runs once BUT i have different vars i want to run for 
"child1" and "child2" and i DO want it to run multiple times (once for each 
child)
How can i force ansible to run for all children in this instance?

Tx in advance

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9d377293-5392-4fe0-a90e-2046c8817f7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to