2019-03-09 14:38:48 -06:00
|
|
|
- name: Install fail2ban filter
|
2019-03-08 06:12:16 -06:00
|
|
|
template:
|
|
|
|
src: fail2ban/filter.conf.j2
|
|
|
|
dest: /etc/fail2ban/filter.d/gitea.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0444
|
|
|
|
notify: Restart fail2ban
|
|
|
|
|
2019-03-09 14:38:48 -06:00
|
|
|
- name: Install fail2ban jail
|
2019-03-08 06:12:16 -06:00
|
|
|
template:
|
|
|
|
src: fail2ban/jail.conf.j2
|
|
|
|
dest: /etc/fail2ban/jail.d/gitea.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0444
|
|
|
|
notify: Restart fail2ban
|
|
|
|
|