: remove the mandatory gather_subsets for loadbalancing & web servers
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m17s

This commit is contained in:
VC
2025-03-31 11:45:34 +02:00
parent 8fa63cddfb
commit b81d9f0b35
5 changed files with 16 additions and 20 deletions

View File

@@ -9,7 +9,9 @@
error_log /var/log/nginx/{{ item.host }}.error.log;
error_log syslog:server=unix:/dev/log;
{% if item.allowlistv4 is defined %}
allow {{ hostvars['haproxy']['ansible_default_ipv4']['address'] }};
{% for host in groups['lbservers'] %}
allow {{ hostvars[host].proxmox_net0.ip | ansible.utils.ipaddr('address') }};
{% endfor %}
{% endif %}
{% if item.allowlistv6 is defined %}
{% for addrv6 in item.allowlistv6 %}