cleanup: use systemd module for daemon-reloaed
This commit is contained in:
parent
5353c3acbe
commit
47cccdd42a
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Run acertmgr
|
||||
command: /usr/bin/acertmgr
|
||||
|
@ -3,11 +3,11 @@
|
||||
- name: Run acertmgr
|
||||
command: /usr/bin/acertmgr
|
||||
|
||||
- name: Reload systemd
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Restart gitea
|
||||
service: name=gitea state=restarted
|
||||
|
||||
- name: Restart nginx
|
||||
service: name=nginx state=restarted
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Reload systemd
|
||||
command: systemctl daemon-reload
|
||||
systemd: daemon_reload=yes
|
||||
|
||||
- name: Restart prometheus
|
||||
service: name=prometheus state=restarted
|
||||
|
Loading…
Reference in New Issue
Block a user