Reload systemd before restarting services

This commit is contained in:
Markus 2020-06-18 08:42:50 +02:00
parent ac8ece705f
commit d888969b3c
4 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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