ansible-roles/fail2ban/tasks/ip_whitelist.yml

11 lines
232 B
YAML
Raw Normal View History

---
- name: Update ignoreips lists
ini_file:
dest: /etc/fail2ban/jail.local
section: "[DEFAULT]"
option: "ignoreips"
value: "{{ fail2ban_ignore_ips | join(' ') }}"
notify: restart fail2ban
tags:
- fail2ban