Gather facts

This commit is contained in:
2023-09-06 18:41:59 +02:00
parent f887ca2fae
commit 78d6bd2c2d
3 changed files with 15 additions and 1 deletions

View File

@ -32,7 +32,7 @@ block_ip = [
pass_ip = [
{% for host in groups['monitoring'] %}
'{{ hostvars[host].ansible_host }}', # Monitoring
'{{ hostvars[host].ansible_default_ipv4.address }}', # Monitoring
{% endfor %}
# '192.168.0.0/16', # IPv4 private network
# 'fe80::/10' # IPv6 linklocal / wins over botdetection.ip_limit.filter_link_local