aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/06_hommabot/handlers
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-19 00:49:25 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-19 00:55:21 +0300
commitb0578d2af1d6bfef7b86103a3f244c9112d06f98 (patch)
treec2165399785450e55d4996ef842c8ec0ad45d102 /roles/jails/06_hommabot/handlers
parentb38e910899bad2d6ae2049b599dcdd525420c53d (diff)
Remove packager, use ports fork
Diffstat (limited to 'roles/jails/06_hommabot/handlers')
-rw-r--r--roles/jails/06_hommabot/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/jails/06_hommabot/handlers/main.yml b/roles/jails/06_hommabot/handlers/main.yml
new file mode 100644
index 0000000..d291200
--- /dev/null
+++ b/roles/jails/06_hommabot/handlers/main.yml
@@ -0,0 +1,5 @@
+- name: Restart hommabot
+ shell: service hommabot status && service hommabot restart
+ register: _hb_restart
+ failed_when: false
+ changed_when: _hb_restart.rc == 0