run_once will fail if it is the first task to attempt to contact an unreachable host, i mentioned the ping as a way to guarantee this is not the case.
If using 2 plays i would suggest using add_host/group_by to update the targets for the 2nd play as set_fact is PER HOST and wont be accessible by the play's `hosts:` directive. ---------- Brian Coca -- 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/CACVha7duZgWJdBXsz7P%3DAX7cKz2pA1iJcDVXL%2B1sQJ11nmaBow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
