Close if block in dual bonds
Fix the same issue found in: https://review.opendev.org/c/openstack/tripleo-ansible/+/781102 Change-Id: Ic1a3bc39fe0124f88785834a8004f08413adb367
This commit is contained in:
parent
91bbe8ab1f
commit
fc50cfd2e4
@ -46,6 +46,7 @@ DUAL_MIN_VIABLE_MTU_HEADER = (
|
|||||||
"{# largest MTU. #}\n"
|
"{# largest MTU. #}\n"
|
||||||
"{% else %}\n"
|
"{% else %}\n"
|
||||||
"{{ mtu_ctlplane_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}\n" # noqa
|
"{{ mtu_ctlplane_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}\n" # noqa
|
||||||
|
"{%- endif %}\n"
|
||||||
"{%- endfor %}\n"
|
"{%- endfor %}\n"
|
||||||
"{% set min_viable_mtu_ctlplane = mtu_ctlplane_list | max %}\n"
|
"{% set min_viable_mtu_ctlplane = mtu_ctlplane_list | max %}\n"
|
||||||
"{% set min_viable_mtu_dataplane = mtu_dataplane_list | max %}\n"
|
"{% set min_viable_mtu_dataplane = mtu_dataplane_list | max %}\n"
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
{# largest MTU. #}
|
{# largest MTU. #}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ mtu_ctlplane_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
|
{{ mtu_ctlplane_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
|
||||||
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% set min_viable_mtu_ctlplane = mtu_ctlplane_list | max %}
|
{% set min_viable_mtu_ctlplane = mtu_ctlplane_list | max %}
|
||||||
{% set min_viable_mtu_dataplane = mtu_dataplane_list | max %}
|
{% set min_viable_mtu_dataplane = mtu_dataplane_list | max %}
|
||||||
|
Loading…
Reference in New Issue
Block a user