Oefenweb / ansible-fail2ban

Ansible role to set up fail2ban in Debian-like systems
MIT License
117 stars 55 forks source link

Add fail2ban_actiond_path and fail2ban_jaild_path #18

Closed j4m3s closed 8 years ago

j4m3s commented 8 years ago

Custom action files are required to support alternative actions such as different mail agents/ mtas.

The jail.d folder can be used as an alternative mechanism for configuring individual jails.

Would it be possible to add these to the role? I can create & submit a PR if it would help - it's a fairly simple cut & paste job :)

tersmitten commented 8 years ago

How would you like to implement it, just like fail2ban_filterd_path?

j4m3s commented 8 years ago

Yes exactly - just replicate that copy job on https://github.com/Oefenweb/ansible-fail2ban/blob/03c9757c8ad44a849eff9a5ded2354018eb7bcd4/tasks/main.yml#L41

And update the readme of course