ssh restart
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user