Ok, I'm so this doesn't seem like a dynamic inventory question to me, but
just a good example to use "delegate_to" combined with "with_items", as you
want all servers in one group to talk to the other group.

Dynamic inventory would be orthogonal to that particular question -- still
useful, but not the same thing.



On Mon, Sep 15, 2014 at 7:21 PM, Benjamin Leung <[email protected]>
wrote:

> Hi Michael,
>
> I think that would work for me, using a dynamic inventory.
>
> I basically have my inventory file setup with 2 stanzas that are receivers
> and senders. I am using Ansible to log into all the senders and do a net
> cat to verify ACL. In my playbook I do not want to have a command for every
> single sender host.
>
> Basically have the asdf_servers variable equal to my host inventory
> [asdf_servers] stanza.
>
>  --
> 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/c7b5b048-b305-47a4-a329-3b345879943d%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/c7b5b048-b305-47a4-a329-3b345879943d%40googlegroups.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%2BnsWgzfKxzNsA2h7gHJP95BJNbcB8y_JUhw4-V2RoDz9ekSeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to