{"id":15080671,"url":"https://github.com/walidsa3d/ansible-fail2ban","last_synced_at":"2026-02-04T10:04:39.856Z","repository":{"id":251034853,"uuid":"834828529","full_name":"walidsa3d/ansible-fail2ban","owner":"walidsa3d","description":"An Ansible role to install fail2ban on Ubuntu/Debian.","archived":false,"fork":false,"pushed_at":"2024-08-03T09:28:32.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T16:05:30.307Z","etag":null,"topics":["ansible","ansible-role","fail2ban"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walidsa3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-28T13:42:46.000Z","updated_at":"2024-10-17T07:59:26.000Z","dependencies_parsed_at":"2025-02-18T00:31:21.213Z","dependency_job_id":"7233660a-1215-4343-983d-3eb83dd6bdb8","html_url":"https://github.com/walidsa3d/ansible-fail2ban","commit_stats":null,"previous_names":["walidsa3d/ansible-fail2ban"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/walidsa3d/ansible-fail2ban","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walidsa3d%2Fansible-fail2ban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walidsa3d%2Fansible-fail2ban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walidsa3d%2Fansible-fail2ban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walidsa3d%2Fansible-fail2ban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walidsa3d","download_url":"https://codeload.github.com/walidsa3d/ansible-fail2ban/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walidsa3d%2Fansible-fail2ban/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262099717,"owners_count":23258668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","fail2ban"],"created_at":"2024-09-25T05:05:10.084Z","updated_at":"2026-02-04T10:04:39.771Z","avatar_url":"https://github.com/walidsa3d.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fail2ban\n\nAn Ansible role to install fail2ban on Ubuntu/Debian.\n![Ansible Role](https://img.shields.io/ansible/role/d/walidsa3d/failban)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/walidsa3d/ansible-fail2ban/main.yml)\n## Table of Contents\n\n- [Requirements](#requirements)\n- [Role Variables](#role-variables)\n- [Dependencies](#dependencies)\n- [Example Playbook](#example-playbook)\n- [Molecule Testing](#molecule-testing)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Requirements\n\n- Ansible \u003e= 2.9\n- Supported platforms:\n  - Ubuntu\n\n## Role Variables\n\nThe variables used in this role are defined in `defaults/main.yml` and can be customized as per your requirements. Here are some of the main variables:\n\n| Variable           | Default Value           | Description                          |\n|--------------------|-------------------------|--------------------------------------|\n| `logelevel`  | `INFO`      | log level|\n| `ban_ignoreip`  | `INFO`      | excluded ips|\n| `bantime`  | `600`      | number of seconds an IP address is banned |\n| `findtime`  | `600`      | retris must occur within the findtime duration. |\n| `maxretry`  | `5`      | max retries before ban|\n\n## Dependencies\n\nThis role has no external dependencies.\n\n## Example Playbook\n\nHere is an example of how to use this role in a playbook:\n\n```yaml\n---\n- name: Install and configure Fail2ban.\n  hosts: all\n  become: true\n  roles:\n    - role: walidsa3d.failban\n```\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalidsa3d%2Fansible-fail2ban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalidsa3d%2Fansible-fail2ban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalidsa3d%2Fansible-fail2ban/lists"}