From afb740e676c934888387e775e767e394d9b4eaeb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 12 Jul 2018 16:44:21 +0200 Subject: [PATCH] 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: I65b167a65699e504dbd463be5225af24626a96cd --- tasks/qdrouterd_install.yml | 2 +- tasks/qdrouterd_post_install.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/qdrouterd_install.yml b/tasks/qdrouterd_install.yml index 92aa2a7..3011c30 100644 --- a/tasks/qdrouterd_install.yml +++ b/tasks/qdrouterd_install.yml @@ -23,7 +23,7 @@ systemd: daemon_reload: yes when: - - install_qdrouterd | changed + - install_qdrouterd is changed tags: - qdrouterd-apt-packages - qdrouterd-yum-packages diff --git a/tasks/qdrouterd_post_install.yml b/tasks/qdrouterd_post_install.yml index 107f022..cdda0f7 100644 --- a/tasks/qdrouterd_post_install.yml +++ b/tasks/qdrouterd_post_install.yml @@ -48,4 +48,4 @@ - include: qdrouterd_restart.yml static: no - when: qdrouterd_config_changed|changed + when: qdrouterd_config_changed is changed