Fix: use systemd instead of command module
Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
parent
b49bd3620b
commit
5c5195cc2c
2 changed files with 4 additions and 2 deletions
|
@ -9,4 +9,5 @@
|
||||||
|
|
||||||
# Reload systemd daemons when a service file changes
|
# Reload systemd daemons when a service file changes
|
||||||
- name: Reload systemd daemons
|
- name: Reload systemd daemons
|
||||||
command: systemctl daemon-reload
|
systemd:
|
||||||
|
daemon_reload: true
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
# Reload systemd daemons when a service file changes
|
# Reload systemd daemons when a service file changes
|
||||||
- name: Reload systemd daemons
|
- name: Reload systemd daemons
|
||||||
command: systemctl daemon-reload
|
systemd:
|
||||||
|
daemon_reload: true
|
||||||
|
|
Loading…
Reference in a new issue