ssh restart

This commit is contained in:
olli 2024-09-07 16:58:48 +02:00
parent 6282e6a591
commit 9f83974df0

View File

@ -254,6 +254,8 @@
path: /root/.ssh/id_ed25519 path: /root/.ssh/id_ed25519
type: ed25519 type: ed25519
when: nocontainer.stat.exists == true when: nocontainer.stat.exists == true
notify:
- Restart ssh
- ansible.posix.sysctl: - ansible.posix.sysctl:
name: vm.swappiness name: vm.swappiness
@ -839,3 +841,9 @@
name: hd-idle name: hd-idle
state: restarted state: restarted
- name: Restart ssh
service:
name: ssh
state: restarted