forked from FF-RGB/ansible
Reload systemd before restarting services
This commit is contained in:
parent
ac8ece705f
commit
d888969b3c
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Restart fastd-exporter
|
||||
service: name=fastd-exporter state=restarted
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: Restart fastd-exporter
|
||||
service: name=fastd-exporter state=restarted
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Restart node_exporter
|
||||
service: name=node_exporter state=restarted
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: Restart node_exporter
|
||||
service: name=node_exporter state=restarted
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Restart respondd
|
||||
service: name=respondd state=restarted
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: Restart respondd
|
||||
service: name=respondd state=restarted
|
||||
|
@ -1,10 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
||||
- name: Restart yanic
|
||||
service: name=yanic state=restarted
|
||||
|
||||
- name: Restart yanic-publish
|
||||
service: name=yanic-publish.timer state=restarted
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
Loading…
Reference in New Issue
Block a user