Subject: [ansible-project] question about 'when' conditional


too many quotes, in the first one they are needed for YAML
restrictions, if you start a value with a quote, it must finish with a
quote. These quotes are removed when passing to the evaluator, but not
in other cases.

This should work:
  when: ansible_os_family == "RedHat" and 'aws' in sensu_remote_plugins

Also, lists are 'implicit AND'
  when:
     - ansible_os_family == "RedHat"
     - "'aws' in sensu_remote_plugins"
--
----------
Brian Coca

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