alonisser.fail2ban_nginx
ansible_fail2ban_nginx
This role installs sane nginx jails for ansible Mostly based on this Digital Ocean article This Role assumes you already have fail2ban installed correctly
Requirements
fail2ban installed
Role Variables
Available vars:
nginx_logpath defaults to: /var/log/nginx/access.log
fail2ban_service_location defaults to: /etc/init.d/fail2ban
Dependencies
Example Playbook
- hosts: nginx_servers
roles:
- role: fail2ban_nginx
Also see the tests for example
License
MIT
Author Information
Install
ansible-galaxy install alonisser.fail2ban_nginxLicense
mit
Downloads
75
Owner
Full stack developer: python, Node.js, k8s Cloud native, automation with ansible. frontend stack & tooling.
https://alonisser.github.io/cv
