infrastructure/ansible/roles/prometheus/handlers/main.yml
Jake Howard ee96e6ab08
Some checks failed
/ ansible (push) Failing after 1m35s
/ terraform (push) Failing after 12m54s
Rename forrest role to prometheus
Makes organising much simpler
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