aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host_prod/handlers/main.yml
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-13 00:13:57 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-16 18:42:27 +0300
commitb5860daf11ac353049cb1654b9414a129e5cfb96 (patch)
tree87ed89711e4f0e85ace0a97fa123199152c67302 /roles/host_prod/handlers/main.yml
parent4715a28fdcd87440400d17154bfa361d99db29cc (diff)
Rework
Diffstat (limited to 'roles/host_prod/handlers/main.yml')
-rw-r--r--roles/host_prod/handlers/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/host_prod/handlers/main.yml b/roles/host_prod/handlers/main.yml
new file mode 100644
index 0000000..76ec23e
--- /dev/null
+++ b/roles/host_prod/handlers/main.yml
@@ -0,0 +1,13 @@
+- name: Apply rc.conf
+ shell: service kld start; service netif restart && service routing restart
+
+- name: Mount filesystems
+ shell: mount -a
+
+- name: Restart smartd
+ service:
+ name: smartd
+ state: restarted
+
+- name: Run newaliases
+ shell: newaliases