summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-01-14 14:57:28 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-01-14 16:36:46 -0500
commitf97c972fb9848327e9d66678d81d296928deb520 (patch)
tree5880c92826fb023a61fd3fd1ba788c257c6eb246
parent57b7434b1e34c8bcdfbc2db7f1261d63bcf39128 (diff)
downloadopenshift-f97c972fb9848327e9d66678d81d296928deb520.tar.gz
openshift-f97c972fb9848327e9d66678d81d296928deb520.tar.bz2
openshift-f97c972fb9848327e9d66678d81d296928deb520.tar.xz
openshift-f97c972fb9848327e9d66678d81d296928deb520.zip
Fix hardcoded api_port in openshift_master_cluster
-rw-r--r--roles/openshift_master_cluster/tasks/configure.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_master_cluster/tasks/configure.yml b/roles/openshift_master_cluster/tasks/configure.yml
index 7ab9afb51..1b94598dd 100644
--- a/roles/openshift_master_cluster/tasks/configure.yml
+++ b/roles/openshift_master_cluster/tasks/configure.yml
@@ -34,11 +34,10 @@
- name: Disable stonith
command: pcs property set stonith-enabled=false
-# TODO: handle case where api port is not 8443
- name: Wait for the clustered master service to be available
wait_for:
host: "{{ openshift_master_cluster_vip }}"
- port: 8443
+ port: "{{ openshift.master.api_port }}"
state: started
timeout: 180
delay: 90