Remove jinja from failed_when

This patch removes the warning about jinja2 template delimiters
in the 'failed_when' statement.

Change-Id: I3bf58d5b96376ca059c0970e219b0508a4a8cb5b
This commit is contained in:
Major Hayden 2017-10-11 10:28:57 -05:00
parent a3db82793b
commit bc3e2b6829

View File

@ -34,7 +34,7 @@
exit 0
fi
changed_when: "result.rc == 2"
failed_when: "{{ result.rc not in [0, 2] }}"
failed_when: "result.rc not in [0, 2]"
- name: Basic host setup
hosts: "{{ openstack_host_group|default('hosts') }}"