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: I015f0687a24ab9727a6a43fa0c3da709ce72530d
This commit is contained in:
Jean-Philippe Evrard 2018-07-12 16:44:20 +02:00
parent c4be217148
commit a3add1e7b0
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,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 }}" ]