infrastructure/ansible/roles/prometheus/handlers/main.yml

15 lines
314 B
YAML
Raw Permalink Normal View History

2021-01-31 16:52:24 +00:00
- name: restart grafana
shell:
chdir: /opt/grafana
cmd: "{{ docker_update_command }}"
2021-02-14 16:24:45 +00:00
2021-03-04 14:53:03 +00:00
- name: restart prometheus
shell:
chdir: /opt/prometheus
cmd: "{{ docker_update_command }}"
- name: reload prometheus
shell:
chdir: /opt/prometheus
cmd: docker-compose exec prometheus kill -HUP 1