forked from infra/ansible
hackmd: reload systemd before restarting hackmd
This commit is contained in:
parent
e2fd44eb53
commit
ebecd957b2
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Reload systemd
|
||||||
|
systemd: daemon_reload=yes
|
||||||
|
|
||||||
- name: Restart hackmd
|
- name: Restart hackmd
|
||||||
service: name=hackmd state=restarted
|
service: name=hackmd 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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user