⚡: exclude external webservers from Firewall ACL
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m16s
All checks were successful
ansible-lint / lint-everything (push) Successful in 1m16s
This commit is contained in:
@@ -189,7 +189,7 @@ config redirect
|
|||||||
option target 'DNAT'
|
option target 'DNAT'
|
||||||
|
|
||||||
# Allow Web traffic IN
|
# Allow Web traffic IN
|
||||||
{% for host in groups['webservers'] | sort %}
|
{% for host in groups['webservers'] | difference(groups['disabled_loadbalanced_webservers']) | sort %}
|
||||||
config rule
|
config rule
|
||||||
option name 'Allow-INPUT-{{ hostvars[host]['ansible_host'] }}-Web'
|
option name 'Allow-INPUT-{{ hostvars[host]['ansible_host'] }}-Web'
|
||||||
option src 'wan'
|
option src 'wan'
|
||||||
|
Reference in New Issue
Block a user