ansible-role-server/tasks/setup.yml

13 lines
232 B
YAML

---
# Server/Setup: Generic Setup Tasks (sshd)
# SSH
- name: setup - Copy sshd_config
become: yes
copy:
src: "{{ role_path }}/files/sshd_config"
dest: "/etc/ssh/sshd_config"
backup: yes
notify:
- Restart sshd