浏览代码

Merge pull request #4701 from kwoodson/master_metrics_url

[Bz 1468113] Configure the rest of the masters with the correct URL.
Scott Dodson 7 年之前
父节点
当前提交
5f23f95f01
共有 1 个文件被更改,包括 9 次插入0 次删除
  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