Skip to content

Commit

Permalink
Fix error `"AnsibleUndefinedVariable: 'is_ubuntu_20_or_later' is unde…
Browse files Browse the repository at this point in the history
…fined"`
  • Loading branch information
riccardomurri committed Jan 8, 2021
1 parent 758d141 commit 61ecf03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ break
# so disable it by default to avoid confusing warning
# messages from OpenMPI
{# BTL `sm` was replaced by `vader` in OpenMPI 3+ #}
{% if is_debian_10_or_later or is_ubuntu_20_or_later or is_rhel8_or_later_compatible %}
{% if is_debian_10_or_later or is_ubuntu_20_04_or_later or is_rhel8_or_later_compatible %}
setenv "OMPI_MCA_btl" "self,vader,tcp"
{% else %}
setenv "OMPI_MCA_btl" "self,sm,tcp"
Expand Down

0 comments on commit 61ecf03

Please sign in to comment.