Use systemd module rather than command

This commit is contained in:
Alexandre Iooss 2019-03-11 15:12:58 +01:00
parent 563d9658ed
commit f347daa408
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
command: systemctl daemon-reload
systemd:
daemon_reload: true

View file

@ -1,4 +1,5 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
command: systemctl daemon-reload
systemd:
daemon_reload: true