fix: fix insecure file permission and ownership

This commit is contained in:
Christoph Schug 2024-03-03 17:17:19 +01:00
parent 0621aca3af
commit b46f18d437

View File

@ -10,10 +10,13 @@
- fail2ban
update_cache: true
- name: Copy fail2ban configfiles
- name: Copy fail2ban config file
ansible.builtin.copy:
src: configfiles/debian-sshd-default.conf
dest: /etc/fail2ban/jail.d/debian-sshd-default.conf
mode: '0644'
owner: root
group: root
- name: Restart fail2ban
ansible.builtin.systemd_service: