Set mode on fail2ban filter and jail

This commit is contained in:
Jake Howard 2020-10-24 12:10:54 +01:00
parent 8932ac828f
commit 5eb3870fbe
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -7,6 +7,7 @@
template:
src: files/haproxy-fail2ban-filter.conf
dest: /etc/fail2ban/filter.d/haproxy-basic.conf
mode: "0600"
become: true
register: fail2ban_filter
@ -14,6 +15,7 @@
template:
src: files/haproxy-fail2ban-jail.conf
dest: /etc/fail2ban/jail.d/haproxy.conf
mode: "0600"
become: true
register: fail2ban_jail