Fix usage of "|" for tests

With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: Ifa4bfaf645621ef23fa8f9d7893b4f596052f655
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:21 +02:00
parent fe5104f3ae
commit 5d0c77e9c5
1 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@
config_type: "ini"
config_overrides: "{{ item[1] }}"
register: template_changed
failed_when: template_changed | changed
failed_when: template_changed is changed
with_nested:
- [ 0, 1, 2 ]
- [ "{{ test_config_ini_overrides }}" ]
@ -228,7 +228,7 @@
config_overrides: "{{ test_default_section_overrides }}"
default_section: "global"
register: template_changed
failed_when: template_changed | changed
failed_when: template_changed is changed
vars:
test_config_ini_overrides: