summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-07-05 17:11:12 -0500
committerewolinetz <ewolinet@redhat.com>2017-07-05 17:11:12 -0500
commit96dea4b4a63e550248eeb404360514fed6cb08b0 (patch)
tree03ea1d9dc72b8cc3554ec087d2fb7685a77ff81c /playbooks
parent8c1343b778e39aca946b4014469810cece873a57 (diff)
downloadopenshift-96dea4b4a63e550248eeb404360514fed6cb08b0.tar.gz
openshift-96dea4b4a63e550248eeb404360514fed6cb08b0.tar.bz2
openshift-96dea4b4a63e550248eeb404360514fed6cb08b0.tar.xz
openshift-96dea4b4a63e550248eeb404360514fed6cb08b0.zip
Synching certs and aggregator configs from first master to all other masters
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/service_catalog.yml18
1 files changed, 11 insertions, 7 deletions
diff --git a/playbooks/common/openshift-cluster/service_catalog.yml b/playbooks/common/openshift-cluster/service_catalog.yml
index 85c7248e9..68ca6cdbf 100644
--- a/playbooks/common/openshift-cluster/service_catalog.yml
+++ b/playbooks/common/openshift-cluster/service_catalog.yml
@@ -1,16 +1,20 @@
---
- include: evaluate_groups.yml
-- name: Service Catalog
- hosts: oo_first_master
- roles:
- - openshift_service_catalog
- - ansible_service_broker
-
- name: Update Master configs
- hosts: oo_masters:!oo_first_master
+ hosts: oo_masters
tasks:
- block:
- include_role:
name: openshift_service_catalog
tasks_from: wire_aggregator
+ vars:
+ first_master: "{{ groups.oo_first_master[0] }}"
+
+- name: Service Catalog
+ hosts: oo_first_master
+ roles:
+ - openshift_service_catalog
+ - ansible_service_broker
+ vars:
+ first_master: "{{ groups.oo_first_master[0] }}"