Add a crowdsec role for agents and the nftables bouncer against a central LAPI

This commit is contained in:
2026-10-07 07:29:29 +00:00
parent cfe87002c5
commit c87af201aa
5 changed files with 235 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# {{ ansible_managed }}
name: local/host-whitelist
description: Internal ranges and admin addresses
whitelist:
reason: internal or admin source
cidr:
{% for cidr in crowdsec.whitelist | dict2items | rejectattr('value', 'none') | map(attribute='value') | unique %}
- "{{ cidr }}"
{% endfor %}