cleanup: use systemd module for daemon-reloaed

This commit is contained in:
Markus 2020-06-22 13:24:53 +02:00
parent a70bcc1d4e
commit bad435fad4
7 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Restart fastd-exporter
service: name=fastd-exporter state=restarted

View File

@ -1,8 +1,8 @@
---
- name: Reload systemd
systemd: daemon_reload=yes
- name: Restart fastd
service: name=fastd@{{ site_code }}{{ item }} state=restarted
with_sequence: start=0 count={{ fastd_instances }}
- name: Reload systemd
command: systemctl daemon-reload

View File

@ -4,4 +4,4 @@
command: /sbin/ifreload -a
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Restart node_exporter
service: name=node_exporter state=restarted

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Restart prometheus
service: name=prometheus state=restarted

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Restart respondd
service: name=respondd state=restarted

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Restart yanic
service: name=yanic state=restarted