diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2021-01-18 19:22:57 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2021-01-18 19:22:57 +0100 |
commit | c28fe3ed473a195b5d9067c8c65676b409c19ce0 (patch) | |
tree | c27c0b3b97bf5517e7016ec81549be131c493cbc | |
parent | 517597c0f34051711f20d0d4e0cf8a3bbdbfab0d (diff) | |
download | labitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.tar.gz labitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.tar.xz labitat-ansible-c28fe3ed473a195b5d9067c8c65676b409c19ce0.zip |
fedora: handlers: add restart sshd handler
-rw-r--r-- | roles/fedora/handlers/main.yml | 6 | ||||
-rw-r--r-- | roles/space_server/handlers/main.yml | 6 |
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 |