summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_metrics/handlers')
-rw-r--r--roles/openshift_metrics/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_metrics/handlers/main.yml b/roles/openshift_metrics/handlers/main.yml
index edb7369de..913f3b0ae 100644
--- a/roles/openshift_metrics/handlers/main.yml
+++ b/roles/openshift_metrics/handlers/main.yml
@@ -24,6 +24,10 @@
--cacert {{ openshift.common.config_base }}/master/ca.crt
{% endif %}
{{ openshift.master.api_url }}/healthz/ready
+ args:
+ # Disables the following warning:
+ # Consider using get_url or uri module rather than running curl
+ warn: no
register: api_available_output
until: api_available_output.stdout == 'ok'
retries: 120