Skip to content

Commit 5c9fa01

Browse files
authored
Update mpi.conf.j2
1 parent 278f55a commit 5c9fa01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

templates/mpi.conf.j2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# {{ ansible_managed }}
2-
{% for line in openhpc_mpi_conf %}
3-
{{ line }}
2+
{% for k, v in openhpc_mpi_default_config | combine(openhpc_mpi_config) | items %}
3+
{% if v != "omit" %}{# allow removing items using setting key: omit #}
4+
{{ k }}={{ v | join(',') if (v is sequence and v is not string) else v }}
5+
{% endif %}
46
{% endfor %}

0 commit comments

Comments
 (0)