computer-playbook/roles/sshd/tasks/main.yml

9 lines
168 B
YAML

- name: create sshd_config
template:
src: "sshd_config.j2"
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: '0644'
notify: sshd restart