refactor ♻️: Refactor task names and update module references in fail2ban.yml
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user