Browse Source

[Bz 1468113] Configure the rest of the masters with the correct URL.

Kenny Woodson 7 năm trước cách đây
mục cha
commit
18fd0abc33
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      playbooks/common/openshift-cluster/openshift_metrics.yml

+ 10 - 0
playbooks/common/openshift-cluster/openshift_metrics.yml

@@ -5,3 +5,13 @@
   hosts: oo_first_master
   roles:
   - openshift_metrics
+
+- name: OpenShift Metrics
+  hosts: oo_masters:!oo_first_master
+  serial: 1
+  tasks:
+  - name: Setup the non-first masters configs
+    include_role:
+      name: openshift_metrics
+      tasks_from: update_master_config.yaml
+