infrastructure/ansible/roles/prometheus/handlers/main.yml
2024-04-21 19:47:02 +01:00

14 lines
314 B
YAML

- name: restart grafana
shell:
chdir: /opt/grafana
cmd: "{{ docker_update_command }}"
- 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