Closed LindsayHill closed 5 years ago
I also found this Warning/behavior strange from Ansible side. At least warning shouldn't show if var is already bool.
Here we go, it's already pretty hot discussed: https://github.com/ansible/ansible/issues/53428#issuecomment-497380458 and improved a couple of days ago: https://github.com/ansible/ansible/pull/57190
We'll probably see improvements in next Ansible version. Or hopefully they'll backport it to latest stable.
Yeah, it's pretty annoying behavior for me where that variable is a bool
. I understand the warning in situations where it's being evaluated as truthy, but for these cases it's pretty petty.
Resolve a couple more deprecation warnings, e.g.