mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name: fws/trusted_ip
|
||||
description: "Whitelist events from trusted ip"
|
||||
whitelist:
|
||||
reason: "trusted ip"
|
||||
ip:
|
||||
{% for ip in trusted_ip | default([]) %}
|
||||
{% if ip is not search('/\d+$') %}
|
||||
- "{{ ip }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
cidr:
|
||||
{% for ip in trusted_ip | default([]) %}
|
||||
{% if ip is search('/\d+$') %}
|
||||
- "{{ ip }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in New Issue
Block a user