Files
k8scd/ansible/mailserver/roles/ssh/tasks/main.yml
T
2026-03-14 22:24:53 +01:00

11 lines
225 B
YAML

---
- name: Deploy hardened sshd config
ansible.builtin.template:
src: sshd_config.j2
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: "0600"
validate: "sshd -t -f %s"
notify: restart sshd