ansible-role-server/tasks/setup.yml

13 lines
259 B
YAML

---
# Server/Setup: Generic Setup Tasks (sshd)
# SSH
- name: setup - Copy sshd_config
become: yes
ansible.builtin.template:
src: "{{ role_path }}/templates/sshd_config.j2"
dest: "/etc/ssh/sshd_config"
backup: yes
notify:
- Restart sshd