use systemd ansible module for daemon-reload

This commit is contained in:
Julien Mailleret 2019-09-30 09:01:32 +02:00
parent aff478f52f
commit 6fdc3cd842
No known key found for this signature in database
GPG key ID: F065093271C8DE71

View file

@ -1,7 +1,8 @@
- name: reload systemd configuration
become: yes
command: systemctl daemon-reload
systemd:
daemon_reload: true
# Restart service and ensure it is enabled