openshift_metrics.yml 452 B

1234567891011121314151617
  1. ---
  2. - name: OpenShift Metrics
  3. hosts: oo_first_master
  4. roles:
  5. - role: openshift_metrics
  6. when: openshift_metrics_install_metrics | default(false) | bool
  7. - name: OpenShift Metrics
  8. hosts: oo_masters:!oo_first_master
  9. serial: 1
  10. tasks:
  11. - name: Setup the non-first masters configs
  12. include_role:
  13. name: openshift_metrics
  14. tasks_from: update_master_config.yaml
  15. when: openshift_metrics_install_metrics | default(false) | bool