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 %}
|
||||
network {{host_loopback_IP}}/32
|
||||
{% endif %}
|
||||
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected == True %}
|
||||
{% if bgp_redistribute_connected is defined and bgp_redistribute_connected %}
|
||||
redistribute connected
|
||||
{% endif %}
|
||||
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
|
||||
{% for item in networks_to_announce_ipv4 %}
|
||||
network {{item}}
|
||||
network {{ item }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% 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 != [] %}
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue