I want to exclude all openvz guests the task being run. I've tried "when: 
not (ansible_virtualization_type == 'openvz' and 
ansible_virtualization_role == 'guest')" and some variations, but it 
doesn't work ("error while evaluating conditional"), seemingly because the 
variables are not defined. So how can I actually do it?

-- 
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/68093bc2-111d-43b5-8707-2f95d20203ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to