Rename forrest role to prometheus
Makes organising much simpler
This commit is contained in:
14
ansible/roles/prometheus/handlers/main.yml
Normal file
14
ansible/roles/prometheus/handlers/main.yml
Normal file
@ -0,0 +1,14 @@
|
||||
- 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
|
Reference in New Issue
Block a user