summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/update_master_config.yaml
blob: 5059d8d948823f0cfa497f4dfbef64df7b9d1301 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: Adding metrics route information to metricsPublicURL
  modify_yaml:
    dest: "{{ openshift.common.config_base }}/master/master-config.yaml"
    yaml_key: assetConfig.metricsPublicURL
    yaml_value: "https://{{ openshift_metrics_hawkular_hostname}}/hawkular/metrics"
  notify:
  - restart master api
  - restart master controllers
  tags:
  - update_master_config