800397c3da
This adds a group var which should normally be the empty list but can be overridden by the test framework to inject additional iptables rules. It's used to add the zuul console streaming port. To accomplish this, the base+extras pattern is adopted for iptables public tcp/udp ports. This means all host/group vars should use the "extra" form of the variable rather than the actual variable defined by the role. Change-Id: I33fe2b7de4a4ba79c25c0fb41a00e3437cee5463
12 lines
414 B
Django/Jinja
12 lines
414 B
Django/Jinja
# If the bastion ipv4 or v6 addresses aren't available (because this
|
|
# job runs in an environment without them) just fall back to the
|
|
# defaults for the real bridge.
|
|
{% if bastion_ipv4 %}
|
|
bastion_ipv4: {{ bastion_ipv4 }}
|
|
{% endif %}
|
|
{% if bastion_ipv6 %}
|
|
bastion_ipv6: {{ bastion_ipv6 }}
|
|
{% endif %}
|
|
bastion_public_key: {{ bastion_public_key }}
|
|
iptables_test_public_tcp_ports: {{ iptables_test_public_tcp_ports }}
|