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
17 lines
453 B
YAML
17 lines
453 B
YAML
---
|
|
- name: Install Fail2Ban
|
|
ansible.builtin.import_tasks: install.yml
|
|
tags: [fail2ban, fail2ban_install]
|
|
|
|
- name: Validate Fail2Ban jails
|
|
ansible.builtin.import_tasks: validate.yml
|
|
tags: [fail2ban, fail2ban_validate]
|
|
|
|
- name: Configure Fail2Ban
|
|
ansible.builtin.import_tasks: configure.yml
|
|
tags: [fail2ban, fail2ban_configure]
|
|
|
|
- name: Ensure Fail2Ban service
|
|
ansible.builtin.import_tasks: service.yml
|
|
tags: [fail2ban, fail2ban_service]
|