So, for both security and other management reasons, we have several 
(currently 12) separate "environments", firewalled off from each other, 
each with their own Ansible server.  That's fine for most things, but 
certain one-off tasks (eg. changing my password) are a pain, since I have 
to do it 12 times.  I'm wondering what the best way would be to execute a 
play on one machine and have all 12 Ansible servers run it against their 
respective inventories.  So far what I've come up with is I could create 
the playbook on the "master" machine, have a task using the copy module to 
send it out to the 12 environment deploy servers, then another task using 
the command module with delegate_to with a list of those servers to run 
ansible-playbook with it on each of them.  Is that the best route, or is 
there something more direct?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/46f68599-db47-49bf-b48b-29a5a49377ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to