cleanup: use systemd module for daemon-reloaed

This commit is contained in:
Markus 2020-06-20 14:51:13 +02:00
parent 5353c3acbe
commit 47cccdd42a
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
---
- name: Reload systemd
command: systemctl daemon-reload
systemd: daemon_reload=yes
- name: Run acertmgr
command: /usr/bin/acertmgr

View File

@ -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

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