deployment/roles/configure-ssh/tasks/main.yml

10 lines
171 B
YAML

---
- name: Copy over sshd config file.
copy:
src: sshd_config
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: '600'
notify: restart sshd