I had situations when this proved useful and situations when this proved annoying :) i'd love a finer control on this.
When running a playbook with *serial* the *play_hosts* variable includes the hosts just of the current batch. I think this is unexpected and can lead to various issues, especially with the cases where *play_hosts* is generally used (from docs: "This may be useful for filling out templates with multiple hostnames or for injecting the list into the rules for a load balancer"). Is this classified as a bug or known feature?
It seems this is related to the fact that *run_once* tasks in a *serial* play are run once per host batch.
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.