- name: task
  debug: msg="I will fail"
  when: inventory_hostname in groups['doesnotexist']

fatal: [host] => error while evaluating conditional: inventory_hostname in 
groups['doesnotexist']

I'm assuming this is not expected behavior? Running Ansible 1.9.2, if it's 
not, I'll be happy to file a bug.

Regards,
Nico

-- 
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/e75d4573-65b7-4d98-9666-26022b0f08df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to