11 lines
No EOL
261 B
YAML
11 lines
No EOL
261 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"
|
|
|