summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/openshift_hosted_logging/handlers/main.yml2
-rw-r--r--roles/openshift_logging/handlers/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_hosted_logging/handlers/main.yml b/roles/openshift_hosted_logging/handlers/main.yml
index 119a76a3a..2f83dd41b 100644
--- a/roles/openshift_hosted_logging/handlers/main.yml
+++ b/roles/openshift_hosted_logging/handlers/main.yml
@@ -10,7 +10,7 @@
return_content: yes
status_code: 200
register: api_available_output
- until: "'ok' in api_available_output.content"
+ until: api_available_output | succeeded
retries: 120
delay: 1
changed_when: false
diff --git a/roles/openshift_logging/handlers/main.yml b/roles/openshift_logging/handlers/main.yml
index 119a76a3a..2f83dd41b 100644
--- a/roles/openshift_logging/handlers/main.yml
+++ b/roles/openshift_logging/handlers/main.yml
@@ -10,7 +10,7 @@
return_content: yes
status_code: 200
register: api_available_output
- until: "'ok' in api_available_output.content"
+ until: api_available_output | succeeded
retries: 120
delay: 1
changed_when: false