On 22 February 2015 at 14:37, Nusenu <[email protected]> wrote: > Is there a way to say loop over all hosts in scope of current task?
The special variable 'play_hosts' is what you are looking for. http://docs.ansible.com/playbooks_variables.html#magic-variables-and-how-to-access-information-about-other-hosts -- 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/CAEhzMJAe6RKapaevixVBt9ZsLx2SiP8ozS%3DED%2BMFz9bYVyH9YQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
