7 lines
164 B
YAML
7 lines
164 B
YAML
|
---
|
||
|
- name: Disallow ssh password login
|
||
|
lineinfile:
|
||
|
path: /etc/ssh/sshd_config
|
||
|
line: "PasswordAuthentication no"
|
||
|
regexp: "^#?PasswordAuthentication "
|