mg
c2b3e44bb4
vars richtig einsortiert gitea version gitea wieder eingebaut Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#1 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
18 lines
389 B
YAML
18 lines
389 B
YAML
---
|
|
- name: Install fail2ban filter
|
|
template:
|
|
src: fail2ban/filter.conf.j2
|
|
dest: /etc/fail2ban/filter.d/gitea.conf
|
|
owner: root
|
|
group: root
|
|
mode: 0444
|
|
notify: Restart fail2ban
|
|
|
|
- name: Install fail2ban jail
|
|
template:
|
|
src: fail2ban/jail.conf.j2
|
|
dest: /etc/fail2ban/jail.d/gitea.conf
|
|
owner: root
|
|
group: root
|
|
mode: 0444
|
|
notify: Restart fail2ban
|