bsdnix/roles/ssh/tasks/main.yaml

12 lines
191 B
YAML

---
- name: copy config file
copy:
src: sshd_config
dest: "/etc/ssh/"
- name: restart sshd
community.general.sysrc:
name: sshd_enable
value: "YES"
notify: restart sshd