https://github.com/czbone/ansible-role-fail2ban
fail2ban role for Ansible
https://github.com/czbone/ansible-role-fail2ban
ansible-role fail2ban
Last synced: 8 months ago
JSON representation
fail2ban role for Ansible
- Host: GitHub
- URL: https://github.com/czbone/ansible-role-fail2ban
- Owner: czbone
- Created: 2021-08-03T05:36:49.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T13:10:59.000Z (about 4 years ago)
- Last Synced: 2025-01-25T11:26:21.950Z (9 months ago)
- Topics: ansible-role, fail2ban
- Language: Jinja
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Fail2Ban Setup with Ansible
===========================
This Ansible Role installs, configures and updates fail2ban for a linux server.
Requirements
------------
* Currently only tested with CentOS 7
* Ansible 2.4 or higher is required for this Ansible Role
Role Variables
--------------
Variables are self speaking or documented in:
* `defaults/main.yml`
Dependencies
------------
This Ansilbe Role has no dependencies.
How to use
------------
##### Download zip and unarchive it at `roles` directory in your Ansible project
```yml
# main.yml
roles:
- ansible-role-fail2ban
```
##### Or ondemand install at launch Ansible
```yml
# requirements.yml
- src: https://github.com/czbone/ansible-role-fail2ban
name: fail2ban
```
```yml
# main.yml
roles:
- fail2ban
```