diff --git a/coreos-config/inventory.yaml b/coreos-config/inventory.yaml index 7a871e5..cc25c19 100644 --- a/coreos-config/inventory.yaml +++ b/coreos-config/inventory.yaml @@ -22,6 +22,9 @@ all: host.nc.chaoswg.org: null thonkpad.ka.chaoswg.org: null mon1.hel1.chaoswg.org: null + monitoring: + hosts: + mon1.hel1.chaoswg.org: null ci_apply: hosts: host.nc.chaoswg.org: null diff --git a/coreos-config/plays/services/search/limiter.toml b/coreos-config/plays/services/search/limiter.toml index f2687a1..364d1e5 100644 --- a/coreos-config/plays/services/search/limiter.toml +++ b/coreos-config/plays/services/search/limiter.toml @@ -31,7 +31,9 @@ block_ip = [ ] pass_ip = [ - '65.108.60.208' # Monitoring +{% for host in groups['monitoring'] %} + '{{ hostvars[host].ansible_host }}', # Monitoring +{% endfor %} # '192.168.0.0/16', # IPv4 private network # 'fe80::/10' # IPv6 linklocal / wins over botdetection.ip_limit.filter_link_local ]