Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 509 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 509 Bytes

ansible-role-fail2ban-drachtio

This is an ansible role for installing fail2ban on a drachtio server. It installs and configures fail2ban, and adds the configuration to monitor the drachtio log file for spammers.

Role variables

The sip port(s) that drachtio is listening on

drachtio_ports: "5060"  # use comma-separated if multiple ports

Example playbook

---
- hosts: all
  roles:
    - ansible-role-fail2ban-drachtio
  become: yes