prometheus/server/tasks/main.yaml
changeset 8 20975062661d
parent 5 4f014cdac0b1
child 52 5a5071d4eaad
equal deleted inserted replaced
7:dc3fca0131a7 8:20975062661d
    15 - name: configure prometheus
    15 - name: configure prometheus
    16   become: yes
    16   become: yes
    17   template:
    17   template:
    18     src: "{{prometheus_server_conf}}"
    18     src: "{{prometheus_server_conf}}"
    19     dest: "/etc/prometheus/prometheus.yml"
    19     dest: "/etc/prometheus/prometheus.yml"
    20   notify: restart prometheus service
    20   notify:
       
    21     - restart prometheus service
       
    22     - restart grafana service
    21 
    23 
    22 # /etc/grafana/grafana.ini
    24 # /etc/grafana/grafana.ini