11 lines
No EOL
190 B
YAML
11 lines
No EOL
190 B
YAML
---
|
|
|
|
- name: Disable SSH password auth
|
|
template:
|
|
src: sshd_config.j2
|
|
dest: /etc/ssh/sshd_config
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: reload sshd
|
|
become: yes |