[RFE] boolean conversion should test for 'False'

Bug #1659985 reported by Daniel Messer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-client-config
New
Undecided
Unassigned

Bug Description

Currently string-to-boolean conversion is implemented with testing the supplied string case-insensitive for "true". The same should exist for "false". When used and/or called by YAML-based front-end tools overriding this parameter from true to false will be cryptic, e.g.

---
private: ''

When boolean conversion recognizes input as typically obtained from JSON or YAML input it could be written more clearly:

---
private: 'False'

Background: my current use case for this is in Ansible Tower using OpenStack Dynamic Inventories.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.