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