aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/fedora/handlers/main.yml6
-rw-r--r--roles/space_server/handlers/main.yml6
2 files changed, 6 insertions, 6 deletions
diff --git a/roles/fedora/handlers/main.yml b/roles/fedora/handlers/main.yml
index 929bf15..5e02bd7 100644
--- a/roles/fedora/handlers/main.yml
+++ b/roles/fedora/handlers/main.yml
@@ -17,4 +17,10 @@
state: restarted
when: not chroot
+- name: restart sshd
+ systemd:
+ name: sshd.service
+ state: restarted
+ when: not chroot
+
# vim: set ts=2 sw=2 et:
diff --git a/roles/space_server/handlers/main.yml b/roles/space_server/handlers/main.yml
index 0ae6ef4..adf4ee9 100644
--- a/roles/space_server/handlers/main.yml
+++ b/roles/space_server/handlers/main.yml
@@ -5,12 +5,6 @@
state: reloaded
when: not chroot
-- name: restart sshd
- systemd:
- name: sshd.service
- state: restarted
- when: not chroot
-
- name: restart bird
systemd:
name: bird.service