]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
New "systemd" role
authorAlexander Barton <alex@barton.de>
Fri, 17 Jun 2016 11:29:27 +0000 (13:29 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 17 Jun 2016 11:29:27 +0000 (13:29 +0200)
At the moment this only contains a "refresh systemd(8) configuration"
handler, which should be notified after installing or removing systemd
unit files, for example.

roles/systemd/handlers/main.yml [new file with mode: 0644]

diff --git a/roles/systemd/handlers/main.yml b/roles/systemd/handlers/main.yml
new file mode 100644 (file)
index 0000000..6a3bc57
--- /dev/null
@@ -0,0 +1,7 @@
+---
+# systemd handlers
+
+- name: refresh systemd(8) configuration
+  tags:
+    - systemd
+  command: systemctl daemon-reload