devops-shit/ansible/base-system/roles/ssh/tasks/main.yml
2021-12-19 16:10:24 +00:00

13 lines
216 B
YAML

---
- name: Put authorized keys
template:
src: files/auth_keys
dest: /etc/ssh/auth_keys
- name: Put sshd config
template:
src: files/sshd_config
dest: /etc/ssh/sshd_config
notify: Reload sshd