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