10 lines
259 B
YAML
10 lines
259 B
YAML
---
|
|
- name: "Fail2ban | Copy configuration"
|
|
ansible.builtin.copy:
|
|
src: "fail2ban/{{ item }}"
|
|
dest: "/etc/fail2ban/{{ item }}"
|
|
mode: 0644
|
|
notify: reload fail2ban
|
|
loop:
|
|
- "filter.d/nginx-req-limit.conf"
|
|
- "jail.d/nginx-req-limit.conf"
|