Subject: [ansible-project] How to do Ansible conditional include_vars?


a) you are using {{}} in when clause
b) you start a YAML value by a quote but do not end by a quote
c) you want this:

when: inventory_hostname in groups['hadoop-clouderamanager']

or

when: "'hadoop-clouderamanager' in group_names"

----------
Brian Coca

--
To post to this group, send email to [EMAIL PROTECTED].