That'd be a perfectly fine solution, yes. I honestly don't even care if it always chooses to run on host1, as long as it doesn't only use host1 to determine if it should run at all.
On Monday, March 19, 2018 at 2:23:53 PM UTC-7, Marcos Alano wrote: > > You mean the tasks should run in the first node available? If host1 is > unavailable the tasks should run in the host2, but if host2 is also > unavailable should run in host3 and so on? > I think is a valid concern. Even delegate_to could be set to a host > which may be is unavailable. The idea here is the tasks must run, > don't care which host, but must run anyway. May be an option? > > -- 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/e092102a-b613-412d-ac5f-61679d227bbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
