aboutsummaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2025-10-11 18:54:45 +0200
committeralex <alex@pdp7.net>2025-10-11 18:54:45 +0200
commit897e5952fe3f46957413e8fd606ad8367b1b632c (patch)
treeebc56fb24cc3869d28679d95b2054c2ca369a6b8 /infrastructure
parent53d4504bfa39e06b9e43db07a6c8d2f15a8223a1 (diff)
Add systemd daemon reload handler
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/roles/systemd/handlers/main.yaml2
-rw-r--r--infrastructure/site.yaml1
2 files changed, 3 insertions, 0 deletions
diff --git a/infrastructure/roles/systemd/handlers/main.yaml b/infrastructure/roles/systemd/handlers/main.yaml
new file mode 100644
index 0000000..a6a8b44
--- /dev/null
+++ b/infrastructure/roles/systemd/handlers/main.yaml
@@ -0,0 +1,2 @@
+- name: systemd daemon reload
+ ansible.builtin.command: systemctl daemon-reload
diff --git a/infrastructure/site.yaml b/infrastructure/site.yaml
index 451c2d9..34c1417 100644
--- a/infrastructure/site.yaml
+++ b/infrastructure/site.yaml
@@ -4,4 +4,5 @@
- users
- motd
- web
+ - systemd
- git