Browse Source

Merge pull request #4701 from kwoodson/master_metrics_url

[Bz 1468113] Configure the rest of the masters with the correct URL.
Scott Dodson 7 years ago
parent
commit
5f23f95f01
1 changed files with 9 additions and 0 deletions
  1. 9 0
      playbooks/common/openshift-cluster/openshift_metrics.yml

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

@@ -5,3 +5,12 @@
   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