瀏覽代碼

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

Kenny Woodson 7 年之前
父節點
當前提交
18fd0abc33
共有 1 個文件被更改,包括 10 次插入0 次删除
  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
+