Skip to content

Commit 47243c7

Browse files
Merge pull request #1023 from rabi/ansible-2.19
Fix ansible 2.19 jinja incompatibilities
2 parents 40981e8 + 9e62d49 commit 47243c7

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ endif::[]
455455
---
456456
{% set mtu_list = [ctlplane_mtu] %}
457457
{% for network in nodeset_networks %}
458-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
458+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
459459
{%- endfor %}
460460
{% set min_viable_mtu = mtu_list | max %}
461461
network_config:

docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ endif::[]
163163
---
164164
{% set mtu_list = [ctlplane_mtu] %}
165165
{% for network in nodeset_networks %}
166-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
166+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
167167
{%- endfor %}
168168
{% set min_viable_mtu = mtu_list | max %}
169169
network_config:

tests/roles/dataplane_adoption/defaults/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ edpm_network_config_template: |
121121
---
122122
{% set mtu_list = [ctlplane_mtu] %}
123123
{% for network in nodeset_networks %}
124-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
124+
{%set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
125125
{%- endfor %}
126126
{% set min_viable_mtu = mtu_list | max %}
127127
network_config:

tests/roles/dataplane_adoption/vars/ospdo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ edpm_network_config_template: |
4545
---
4646
{% set mtu_list = [ctlplane_mtu] %}
4747
{% for network in nodeset_networks %}
48-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
48+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
4949
{%- endfor %}
5050
{% set min_viable_mtu = mtu_list | max %}
5151
network_config:

tests/roles/dataplane_adoption/vars/rhev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ edpm_network_config_template: |
8585
---
8686
{% set mtu_list = [ctlplane_mtu] %}
8787
{% for network in nodeset_networks %}
88-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
88+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
8989
{%- endfor %}
9090
{% set min_viable_mtu = mtu_list | max %}
9191
network_config:

0 commit comments

Comments
 (0)