" with_items: groups['all']"
I wouldn't. I'd use the host loop since it's already there.
- hosts: all
tasks:
- local_action: ...
On Sun, Jul 6, 2014 at 11:03 AM, Brian Coca <[email protected]> wrote:
> you already have a play_hosts variable with the 'current active hosts' in
> the play, but it will be reset every play.
>
> In this case I would just rewrite the play to use:
>
> with_items: groups['all']
>
> --
> 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/CADn%2BHsxi1Xc2-BPmxfese12yCrWviigwXS7XsMPxbCM6ey%2BoOQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CADn%2BHsxi1Xc2-BPmxfese12yCrWviigwXS7XsMPxbCM6ey%2BoOQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CA%2BnsWgw_sMfbV5BuJSNZ3HyMaMi9jW7R6endhy8viLKnzsxjPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.