Skip to content

Commit a3d2915

Browse files
committed
Fix ansible 2.19 jinja incompatibility
Signed-off-by: rabi <ramishra@redhat.com>
1 parent 48a8ddd commit a3d2915

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hooks/playbooks/fetch_compute_facts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
---
212212
{% set mtu_list = [ctlplane_mtu] %}
213213
{% for network in nodeset_networks %}
214-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
214+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
215215
{%- endfor %}
216216
{% set min_viable_mtu = mtu_list | max %}
217217
network_config:

roles/ci_dcn_site/templates/edpm-pre-ceph/nodeset/values.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ data:
4040
---
4141
{% set mtu_list = [ctlplane_mtu] %}
4242
{% for network in nodeset_networks %}
43-
{{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }}
43+
{% set _ = mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) %}
4444
{%- endfor %}
4545
{% set min_viable_mtu = mtu_list | max %}
4646
network_config:

0 commit comments

Comments
 (0)