devops-shit/ansible/base-system/roles/ssh/tasks/main.yml

13 lines
216 B
YAML
Raw Normal View History

---
2021-12-19 19:10:24 +03:00
- 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