summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-12-02 15:41:05 -0500
committerGitHub <noreply@github.com>2016-12-02 15:41:05 -0500
commit14debfe6456ee6185e77c160da0b8b18641b4694 (patch)
treef2641af90b3c439d589c50b65e34f552c00eeebb /playbooks/common
parenteb9a8e5603ea4f0fc9291248c1cb59545f8a023e (diff)
parent936532e266a41550edb7e037289b77f616af1ee2 (diff)
downloadopenshift-14debfe6456ee6185e77c160da0b8b18641b4694.tar.gz
openshift-14debfe6456ee6185e77c160da0b8b18641b4694.tar.bz2
openshift-14debfe6456ee6185e77c160da0b8b18641b4694.tar.xz
openshift-14debfe6456ee6185e77c160da0b8b18641b4694.zip
Merge pull request #2907 from tremble/master
openshift-master/restart : use openshift.common.hostname instead of inventory_hostname
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/restart_hosts.yml2
-rw-r--r--playbooks/common/openshift-master/restart_services.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/common/openshift-master/restart_hosts.yml b/playbooks/common/openshift-master/restart_hosts.yml
index b1c36718c..4e48f94d1 100644
--- a/playbooks/common/openshift-master/restart_hosts.yml
+++ b/playbooks/common/openshift-master/restart_hosts.yml
@@ -11,7 +11,7 @@
become: no
local_action:
module: wait_for
- host="{{ inventory_hostname }}"
+ host="{{ openshift.common.hostname }}"
state=started
delay=10
port="{{ openshift.master.api_port }}"
diff --git a/playbooks/common/openshift-master/restart_services.yml b/playbooks/common/openshift-master/restart_services.yml
index 5e539cd65..a5ab62dc5 100644
--- a/playbooks/common/openshift-master/restart_services.yml
+++ b/playbooks/common/openshift-master/restart_services.yml
@@ -12,7 +12,7 @@
become: no
local_action:
module: wait_for
- host="{{ inventory_hostname }}"
+ host="{{ openshift.common.hostname }}"
state=started
delay=10
port="{{ openshift.master.api_port }}"