change order redis
This commit is contained in:
parent
ebb8b02dd1
commit
bb3cf615f3
@ -25,8 +25,14 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: 0755
|
||||||
notify:
|
|
||||||
- 'prometheus | redis exporter | restart service'
|
- name: 'prometheus | redis exporter | install unit file to systemd'
|
||||||
|
template:
|
||||||
|
src: systemd/prometheus-redis-exporter.service.j2
|
||||||
|
dest: /etc/systemd/system/prometheus-redis-exporter.service
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0600
|
||||||
|
|
||||||
- name: 'prometheus | redis exporter | configuration'
|
- name: 'prometheus | redis exporter | configuration'
|
||||||
template:
|
template:
|
||||||
@ -39,14 +45,6 @@
|
|||||||
notify:
|
notify:
|
||||||
- 'prometheus | redis exporter | restart service'
|
- 'prometheus | redis exporter | restart service'
|
||||||
|
|
||||||
- name: 'prometheus | redis exporter | install unit file to systemd'
|
|
||||||
template:
|
|
||||||
src: systemd/prometheus-redis-exporter.service.j2
|
|
||||||
dest: /etc/systemd/system/prometheus-redis-exporter.service
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: 0600
|
|
||||||
|
|
||||||
- name: 'prometheus | redis exporter | configure systemd to use service'
|
- name: 'prometheus | redis exporter | configure systemd to use service'
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user