Bläddra i källkod

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

Kenny Woodson 7 år sedan
förälder
incheckning
18fd0abc33
1 ändrade filer med 10 tillägg och 0 borttagningar
  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
+