stackhpc / drac

Ansible role for DRAC BIOS and RAID configuration
11 stars 0 forks source link

Fix evaluation of check_mode #9

Closed priteau closed 2 years ago

priteau commented 2 years ago

With drac_check_mode defaulting to null, the expression used for check_mode was evaluated as an empty string, which failed because check_mode expects a valid boolean.

Pass true as second argument to the default filter to force use of the default value. Also add bool filter while here.

Closes #8.