From 9f83974df04f0d6b88bd42c84972b07ac235c56b Mon Sep 17 00:00:00 2001 From: olli <> Date: Sat, 7 Sep 2024 16:58:48 +0200 Subject: [PATCH] ssh restart --- basics.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/basics.yml b/basics.yml index 209e73c..3438de2 100644 --- a/basics.yml +++ b/basics.yml @@ -254,6 +254,8 @@ path: /root/.ssh/id_ed25519 type: ed25519 when: nocontainer.stat.exists == true + notify: + - Restart ssh - ansible.posix.sysctl: name: vm.swappiness @@ -839,3 +841,9 @@ name: hd-idle state: restarted + - name: Restart ssh + service: + name: ssh + state: restarted + +