From 96dea4b4a63e550248eeb404360514fed6cb08b0 Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 5 Jul 2017 17:11:12 -0500 Subject: Synching certs and aggregator configs from first master to all other masters --- playbooks/common/openshift-cluster/service_catalog.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'playbooks') 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] }}" -- cgit v1.2.3