style 💎: Fix indentation and variable registration in fail2ban.yml
Refactored the YAML file to improve readability and ensure proper variable registration.
This commit is contained in:
@@ -123,7 +123,7 @@
|
|||||||
[IPSET {{ f2b_ipset_name }}]
|
[IPSET {{ f2b_ipset_name }}]
|
||||||
comment: Fail2Ban dynamic blacklist
|
comment: Fail2Ban dynamic blacklist
|
||||||
create: false
|
create: false
|
||||||
register: ipset_change
|
register: ipset_change
|
||||||
notify: Reload pve firewall
|
notify: Reload pve firewall
|
||||||
# noqa risky-file-permissions
|
# noqa risky-file-permissions
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
block: |
|
block: |
|
||||||
IN DROP -source +{{ f2b_ipset_name }}
|
IN DROP -source +{{ f2b_ipset_name }}
|
||||||
create: false
|
create: false
|
||||||
register: rule_change
|
register: rule_change
|
||||||
notify: Reload pve firewall
|
notify: Reload pve firewall
|
||||||
# noqa risky-file-permissions
|
# noqa risky-file-permissions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user