From 35e0457b6a4845fef5a887f280c5fc5d133469ea Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Wed, 17 Jun 2020 10:03:03 +0200 Subject: [PATCH] Use is instead of ambiguous pipe The pipe | can be interpreted as a filter and cause errors. The correct way to define when a 'succeeded' condition is met should be by using the word 'is'. Change-Id: Ica8091d96a8a5f1ec93ec4f6bfb7e3f24672f29a --- playbooks/integration/centos-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/integration/centos-image.yaml b/playbooks/integration/centos-image.yaml index 2bdc39e..d68e9d1 100644 --- a/playbooks/integration/centos-image.yaml +++ b/playbooks/integration/centos-image.yaml @@ -26,7 +26,7 @@ url: "{{ centos_image_url }}" dest: "{{ centos_image_file }}.xz" register: centos_image_result - until: centos_image_result | succeeded + until: centos_image_result is succeeded retries: 3 delay: 10