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

11 lines
236 B
YAML

- name: create sshd_config_files directory
file:
path: /etc/ssh/sshd_config_files
state: directory
- name: create sshd_config
copy:
src: sshd_config
dest: /etc/ssh/sshd_config
backup: yes
notify: sshd restart