Skip to content

Commit

Permalink
Merge pull request #15 from mila-iqia/fix/booleans
Browse files Browse the repository at this point in the history
fix: Apply correct filters to booleans
  • Loading branch information
btravouillon authored Aug 4, 2022
2 parents ff6dcf5 + 24127b7 commit deec089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/configure-RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
- name: Configure ipoib_enhanced
ansible.builtin.lineinfile:
path: /etc/modprobe.d/ib_ipoib_enhanced.conf
line: "options ib_ipoib ipoib_enhanced={{ infiniband_ipoib_enhanced | bool }}"
line: "options ib_ipoib ipoib_enhanced={{ infiniband_ipoib_enhanced | bool | int }}"
create: true
notify: Restart openibd
2 changes: 1 addition & 1 deletion templates/ifcfg-ib.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BOOTPROTO=static
ONBOOT=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
{% if not infiniband_ipoib_enhanced %}
{% if not infiniband_ipoib_enhanced | bool %}
MTU=65520
CONNECTED_MODE=yes
{% endif %}

0 comments on commit deec089

Please sign in to comment.