]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
os-base: Use "systemd" module instead of generic "command"
authorAlexander Barton <alex@barton.de>
Thu, 12 Oct 2017 14:01:17 +0000 (16:01 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 12 Oct 2017 14:01:17 +0000 (16:01 +0200)
roles/os-base/handlers/main.yml

index 833ed5b07a42268ca5c350771057f324aaffbef3..92b2b2724a8f0eb257d9177abc6da508d5474245 100644 (file)
@@ -5,5 +5,6 @@
   tags:
     - packages
     - systemd
-  command: systemctl daemon-reload
+  systemd: >
+    daemon_reload=yes
   when: "ansible_distribution == 'Debian' and ansible_distribution_major_version >= '8'"