]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
os-base: Implement "reload systemd daemon" handler
authorAlexander Barton <alex@barton.de>
Wed, 25 Nov 2015 12:52:19 +0000 (13:52 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 25 Nov 2015 12:52:19 +0000 (13:52 +0100)
roles/os-base/handlers/main.yml [new file with mode: 0644]

diff --git a/roles/os-base/handlers/main.yml b/roles/os-base/handlers/main.yml
new file mode 100644 (file)
index 0000000..833ed5b
--- /dev/null
@@ -0,0 +1,9 @@
+---
+# handlers file for os-base
+
+- name: "reload systemd daemon"
+  tags:
+    - packages
+    - systemd
+  command: systemctl daemon-reload
+  when: "ansible_distribution == 'Debian' and ansible_distribution_major_version >= '8'"