aboutsummaryrefslogtreecommitdiffstats
path: root/roles/fedora/handlers
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2021-01-18 19:22:57 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2021-01-18 19:22:57 +0100
commitc28fe3ed473a195b5d9067c8c65676b409c19ce0 (patch)
treec27c0b3b97bf5517e7016ec81549be131c493cbc /roles/fedora/handlers
parent517597c0f34051711f20d0d4e0cf8a3bbdbfab0d (diff)
downloadlabitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.tar.gz
labitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.tar.xz
labitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.zip
fedora: handlers: add restart sshd handler
Diffstat (limited to 'roles/fedora/handlers')
-rw-r--r--roles/fedora/handlers/main.yml6
1 files changed, 6 insertions, 0 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: