AlbanAndrieu.evasive
roles/alban_andrieu_evasive
This file was generated by Ansigenome. Do not edit this file directly but instead have a look at the files in the ./meta/ directory.
Ensures that mod evasive is installed (using apt) on apache. It required fail2ban as well
Installation
This role requires at least Ansible v2.3.0.0. To install it, run:
Using ansible-galaxy:
$ ansible-galaxy install alban.andrieu.evasive
Using arm (Ansible Role Manager):
$ arm install alban.andrieu.evasive
Using git:
$ git clone https://github.com/AlbanAndrieu/ansible-evasive.git
Role dependencies
geerlingguy.apache
Documentation
More information about alban.andrieu.evasive can be found in the
TODO official alban.andrieu.evasive documentation.
Role variables
List of default variables available in the inventory:
evasive_enabled: yes # Enable module
# Package states: present or installed or latest
evasive_pkg_state: present
# Repository states: present or absent
#evasive_repository_state: present
apache_directory : "apache2"
apache_dos_log_path: "/var/log/{{ apache_directory }}/dos"
apache_document_root : "/var/www/html"
fail2ban_conf_path: "/etc/fail2ban"
apache_mod_evasive_enabled: yes
apache_mod_security_enabled: yes
Detailed usage guide
Describe how to use in more detail...
Testing
$ ansible-galaxy install alban.andrieu.evasive
$ vagrant up
Contributing
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.
For pull requests, editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Authors and license
roles/alban_andrieu_evasive role was written by:
- Alban Andrieu | e-mail | Twitter | GitHub
License
- License: GPLv3
Feedback, bug-reports, requests, ...
Are welcome!
This role is part of the Nabla project. README generated by Ansigenome.
Alban Andrieu
ansible-galaxy install AlbanAndrieu.evasive