This might be a newbie question, but I can't figure out how to without writing a wrapper around ansible, or invoking ansible multiple times
Let's say this is my inventory: [some_service] A B C Some_service runs in synchronization mode so one is the master, which need to be shut down last. The trouble is I do not know without actually running "some_command" which one is the master, so the shutdown order might be B->C->A or A->C->B, etc. Is it possible to have ansible runs normally over these hosts, read the exit status of "some_command" and then delay executing shutdown on master until the others are done? -- 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/41bb1f9a-060a-4d1e-a2ae-0a0eabd124d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.