forked from FF-RGB/ansible
cleanup: use systemd module for daemon-reloaed
This commit is contained in:
parent
a70bcc1d4e
commit
bad435fad4
@ -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
|
||||
|
@ -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
|
||||
|
@ -4,4 +4,4 @@
|
||||
command: /sbin/ifreload -a
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Restart prometheus
|
||||
service: name=prometheus state=restarted
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Restart respondd
|
||||
service: name=respondd state=restarted
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Restart yanic
|
||||
service: name=yanic state=restarted
|
||||
|
Loading…
Reference in New Issue
Block a user