ssh restart
This commit is contained in:
parent
6282e6a591
commit
9f83974df0
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user