Ansible lint compliance
This commit is contained in:
parent
81cfe2e347
commit
cb9aef72fc
|
@ -47,12 +47,12 @@ router bgp {{host_ASN}}
|
||||||
{% if host_loopback_IP is defined %}
|
{% if host_loopback_IP is defined %}
|
||||||
network {{host_loopback_IP}}/32
|
network {{host_loopback_IP}}/32
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected == True %}
|
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected %}
|
||||||
redistribute connected
|
redistribute connected
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
|
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
|
||||||
{% for item in networks_to_announce_ipv4 %}
|
{% for item in networks_to_announce_ipv4 %}
|
||||||
network {{item}}
|
network {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if autobgp_interfaces is defined and autobgp_interfaces != [] %}
|
{% if autobgp_interfaces is defined and autobgp_interfaces != [] %}
|
||||||
|
@ -105,7 +105,7 @@ router bgp {{host_ASN}}
|
||||||
|
|
||||||
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
|
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
|
||||||
{% for item in networks_to_announce_ipv4 %}
|
{% for item in networks_to_announce_ipv4 %}
|
||||||
ip prefix-list AS{{host_ASN}}-OUT seq {{loop.index+5}} permit {{item}}
|
ip prefix-list AS{{host_ASN}}-OUT seq {{loop.index+5}} permit {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue