Fix: use systemd instead of command module

Signed-off-by: Hadrien Patte <hadrien.patte@protonmail.com>
This commit is contained in:
Hadrien Patte 2019-03-03 19:13:22 +01:00
parent b49bd3620b
commit 5c5195cc2c
No known key found for this signature in database
GPG key ID: 0954F2874A54F4B1
2 changed files with 4 additions and 2 deletions

View file

@ -9,4 +9,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