feat(fail2ban): add the fail2ban role
Copied from the environment repository's roles/fail2ban and scrubbed for the Collection: galaxy namespace mortis, the molecule scenario calls the role by its FQCN (and takes its paths from the workflow, like docker's), README examples use mortis.kamino.fail2ban, repository-local issue references are dropped. mock_roles in .ansible-lint lists the new FQCN. Not verified locally: the molecule scenario (runs on the kamino-molecule runner in CI) and ansible-test sanity. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
8ff66fb4e8
commit
1ea478b124
19 files changed
+560
No files matched your search
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Install Fail2Ban package
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- "{{ fail2ban_package_name }}"
|
||||
# Required for `backend = systemd` jails (journalmatch), e.g. gitea's.
|
||||
- python3-systemd
|
||||
state: present
|
||||
Reference in new issue
Block a user