summaryrefslogtreecommitdiffstats
path: root/roles/proxy
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-12-25 20:43:39 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-12-25 20:43:39 +0100
commit8c387c4fece3978f0cf51e6b3f745029d8df6a30 (patch)
tree8dcfae89a79c7ec2281e1a047583bf9943d571ca /roles/proxy
parent0695eeca0ddca7ddbf13b6b2ea2045aa6490d2e4 (diff)
downloadplaybooks-ansible-8c387c4fece3978f0cf51e6b3f745029d8df6a30.tar.gz
playbooks-ansible-8c387c4fece3978f0cf51e6b3f745029d8df6a30.tar.xz
playbooks-ansible-8c387c4fece3978f0cf51e6b3f745029d8df6a30.zip
Use systemd module instead of systemctl command for daemon-reload
Diffstat (limited to 'roles/proxy')
-rw-r--r--roles/proxy/handlers/systemd.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/proxy/handlers/systemd.yml b/roles/proxy/handlers/systemd.yml
index d81fdba..8a13bc3 100644
--- a/roles/proxy/handlers/systemd.yml
+++ b/roles/proxy/handlers/systemd.yml
@@ -1,2 +1,3 @@
- name: reload systemd
- command: /usr/bin/systemctl --system daemon-reload
+ systemd:
+ daemon_reload: yes