feat: add sshd config role

This commit is contained in:
Jef Roosens 2025-06-05 18:17:30 +02:00
parent 824d7b8a12
commit 5e2cafaf47
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
6 changed files with 144 additions and 1 deletions

View file

@ -0,0 +1,9 @@
---
- name: Ensure sshd config is present
ansible.builtin.copy:
src: 'sshd_config'
dest: '/etc/ssh/sshd_config'
owner: root
group: root
mode: '644'
notify: 'restart sshd'