summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-27 16:49:38 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-28 15:30:42 -0400
commit37788eb7590babf79bbec52fb29211ada7136878 (patch)
treea8b497cf7a2b533fdb7727fb397ea016714b509d /playbooks/common
parent43f52e292afac7bde5e588377e56d9c49574806c (diff)
downloadopenshift-37788eb7590babf79bbec52fb29211ada7136878.tar.gz
openshift-37788eb7590babf79bbec52fb29211ada7136878.tar.bz2
openshift-37788eb7590babf79bbec52fb29211ada7136878.tar.xz
openshift-37788eb7590babf79bbec52fb29211ada7136878.zip
Suppress more warnings.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/scaleup.yml4
-rw-r--r--playbooks/common/openshift-node/config.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml
index 7304fca56..56ed09e1b 100644
--- a/playbooks/common/openshift-master/scaleup.yml
+++ b/playbooks/common/openshift-master/scaleup.yml
@@ -40,6 +40,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
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 66eb293e5..07a89b7fb 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -172,6 +172,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