ansible/roles/ssh/tasks/main.yml

11 lines
190 B
YAML
Raw Normal View History

2020-05-19 13:49:30 +01:00
---
- 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