refactor ♻️: Refactor task names and update module references in fail2ban.yml
Some checks failed
ansible-lint / Ansible Lint (push) Successful in 12s
Gitleaks Scan / gitleaks (push) Successful in 4s
Markdown Lint / markdown-lint (push) Failing after 6s

This commit refactors the task names and updates module references in the `fail2ban.yml` file to improve clarity and consistency. It also includes minor text adjustments in `meta/fail2ban.md` to enhance readability and ensure accurate variable descriptions with updated default values.
This commit is contained in:
2026-03-01 10:48:13 +01:00
parent e44f757b9e
commit 0004d2bd2d
2 changed files with 20 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
#################################################
- name: fail2ban | Detect Proxmox
stat:
ansible.builtin.stat:
path: /usr/bin/pveversion
register: pve_installed
@@ -80,7 +80,6 @@
- name: fail2ban | Configure Fail2Ban jails
ansible.builtin.blockinfile:
dest: /etc/fail2ban/jail.local
create: true
marker: "# {mark} ANSIBLE MANAGED BLOCK - PROXMOX"
block: |
# jail.conf (default)
@@ -238,7 +237,7 @@
# Deploy cluster-aware Fail2Ban action
#################################################
- name: fail2ban-fw | Deploy proxmox-fw action
- name: fail2ban | Deploy proxmox-fw action
ansible.builtin.copy:
dest: /etc/fail2ban/action.d/proxmox-fw.conf
owner: root