Use systemd module rather than command
This commit is contained in:
parent
563d9658ed
commit
f347daa408
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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