you can put them into a group, either statically or dynamically with
group_by (in a pre play).

then in the play that runs those tasks you can hosts: "all:!openvz", or if
only for a task

when: inventory_hostname not in groups['openvz']

-- 
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%2BHsyYDN7cXv8N76OzJL%3Djw_utYhFbjkCUpmkd_yWtkgynbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to