mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-24 17:24:25 +01:00
fix: fix insecure file permission and ownership
This commit is contained in:
parent
0621aca3af
commit
b46f18d437
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user