FEATURE: sshd config added, task to push it added

This commit is contained in:
2026-07-06 12:21:25 +00:00
parent 7d3640db50
commit b58b76bcc6
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,15 @@
---
- name: Configure ssh-server daemon
copy:
src: ../files/hardened_sshd.conf
dest: /etc/ssh/sshd_config.d/hardened_sshd.conf
mode: u=rw,g=r,o=r
notify: restart sshd
#- name: Configure ssh client
# copy:
# src: /home/max/ansible_files/ssh_config
# dest: /etc/ssh/ssh_config
# mode: u=rw,g=r,o=r