You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
338 B
YAML
20 lines
338 B
YAML
4 years ago
|
---
|
||
|
|
||
|
- name: Configure filter
|
||
|
template:
|
||
|
src: filter.conf
|
||
|
dest: "{{ filter_file }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: u=rw,g=r,o=r
|
||
|
notify: reload fail2ban
|
||
|
|
||
|
- name: Configure jail
|
||
|
template:
|
||
|
src: jail.conf
|
||
|
dest: "{{ jail_file }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: u=rw,g=r,o=r
|
||
|
notify: reload fail2ban
|