From 8c1343b778e39aca946b4014469810cece873a57 Mon Sep 17 00:00:00 2001 From: ewolinetz Date: Wed, 5 Jul 2017 14:01:58 -0500 Subject: Addressing servicecatalog doesnt have enough permissions and multimaster config for service-catalog --- playbooks/common/openshift-cluster/service_catalog.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'playbooks/common') diff --git a/playbooks/common/openshift-cluster/service_catalog.yml b/playbooks/common/openshift-cluster/service_catalog.yml index c42e8781a..85c7248e9 100644 --- a/playbooks/common/openshift-cluster/service_catalog.yml +++ b/playbooks/common/openshift-cluster/service_catalog.yml @@ -6,3 +6,11 @@ roles: - openshift_service_catalog - ansible_service_broker + +- name: Update Master configs + hosts: oo_masters:!oo_first_master + tasks: + - block: + - include_role: + name: openshift_service_catalog + tasks_from: wire_aggregator -- cgit v1.2.3 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/common') 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