From d7f807629416fa5cd206cebbf8b3e3ccc14f0339 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: I897b918785c34523688c450bec16661f0f6e496e --- leap-upgrades/upgrade-utilities/pip-unify.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/leap-upgrades/upgrade-utilities/pip-unify.yml b/leap-upgrades/upgrade-utilities/pip-unify.yml index 62a72b96..6fb4e688 100644 --- a/leap-upgrades/upgrade-utilities/pip-unify.yml +++ b/leap-upgrades/upgrade-utilities/pip-unify.yml @@ -42,7 +42,7 @@ force: "yes" validate_certs: "{{ pip_validate_certs }}" register: get_pip - until: get_pip | success + until: get_pip is success failed_when: false retries: 5 delay: 2 @@ -54,10 +54,10 @@ force: "yes" validate_certs: "{{ pip_validate_certs }}" when: - - get_pip | failed + - get_pip is failed - pip_fallback_url is defined register: get_pip_fallback - until: get_pip_fallback | success + until: get_pip_fallback is success retries: 5 delay: 2