mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-07 08:54:04 +01:00
fix: fix insecure file permission and ownership
This commit is contained in:
parent
0621aca3af
commit
b46f18d437
@ -10,10 +10,13 @@
|
|||||||
- fail2ban
|
- fail2ban
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Copy fail2ban configfiles
|
- name: Copy fail2ban config file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: configfiles/debian-sshd-default.conf
|
src: configfiles/debian-sshd-default.conf
|
||||||
dest: /etc/fail2ban/jail.d/debian-sshd-default.conf
|
dest: /etc/fail2ban/jail.d/debian-sshd-default.conf
|
||||||
|
mode: '0644'
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
|
||||||
- name: Restart fail2ban
|
- name: Restart fail2ban
|
||||||
ansible.builtin.systemd_service:
|
ansible.builtin.systemd_service:
|
||||||
|
Loading…
Reference in New Issue
Block a user