update cloudflare notify and restart
This commit is contained in:
parent
ac92dc9f6c
commit
53a1b96c15
@ -84,7 +84,7 @@
|
||||
|
||||
- name: 'prometheus | cloudflare exporter | restart service'
|
||||
systemd:
|
||||
name: prometheus-cloudflare-exporter.service
|
||||
name: docker-compose@cloudflare.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
tags: ['prometheus']
|
||||
|
@ -25,7 +25,8 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: "{{ exporter }}-restart"
|
||||
notify:
|
||||
- 'prometheus | {{ exporter }} exporter | restart service'
|
||||
tags: [ 'prometheus_{{ exporter }}' ]
|
||||
|
||||
- name: '{{ exporter }} exporter | systemd | install unit file'
|
||||
@ -35,6 +36,8 @@
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0600
|
||||
notify:
|
||||
- 'prometheus | {{ exporter }} exporter | restart service'
|
||||
tags: [ 'prometheus_{{ exporter }}' ]
|
||||
|
||||
- name: '{{ exporter }} exporter | systemd | enable service'
|
||||
|
Loading…
x
Reference in New Issue
Block a user