2025-10-30 15:27:25 +01:00

13 lines
248 B
YAML

#SPDX-License-Identifier: MIT-0
---
# tasks file for ssh_hardening
- name: Copy hardened sshd config
ansible.builtin.copy:
src: sshd_config
dest: /etc/ssh/sshd_config
owner: root
group: root
mode: 0600
notify: restart_sshd