You need something to negate

hosts: all:!A:!B


FYI all hosts are always in at least 2 groups,  'all' being always one
of them, if no other group is assigned 'ungrouped' becomes the 2nd.
-- 
----------
Brian Coca

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7d6zdXHm9cDQXp-ygUU4qaNeu%3DF2JX0xUS-8qwh7bsgNg%40mail.gmail.com.

Reply via email to