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 + +