Groups select hosts not tasks, I see the group "hosts" in both groups so
this is correct.

Consider tagging or splitting your playbooks.

-- Michael

On Mar 22, 2014, at 2:31 PM, Mike Cavedon <[email protected]> wrote:

Hi,

I have the following set-up:

[hosts]
am[201:205]
am[301:305]

[matcher:children]
hosts

[memcached:children]
hosts

I'm expecting to be able to use "--limit matcher" and have only the tasks
associated with "matcher" executed on the hosts but the tasks associated
with "memcached" are also being executed. If I'm not doing something
incorrectly how do I get only the tasks associated with "matcher" to
execute on the hosts associated with both "matcher" and "memcached"?

Thanks.

-- 
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/2e979fc2-389d-428d-b9e9-32a244739f91%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/2e979fc2-389d-428d-b9e9-32a244739f91%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/-6020494480108756845%40unknownmsgid.
For more options, visit https://groups.google.com/d/optout.

Reply via email to