ansible-role-nginx/tasks/fail2ban.yml

11 lines
261 B
YAML
Raw Normal View History

2023-03-11 21:35:10 +01:00
---
- 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"