Forum Navigation
You need to log in to create posts and topics.

Ansible playbook returns error: true isn’t a bool


When specifying true/ false for ansible playbook variables sometimes error can be occurred during runtime example:

“item”: {
“name”: “my_item”,
“value”: “true”
“msg”: “true isn’t a bool”


Pass variable to ansible playbook util you need to specify: True with capital T and -e with Apostrophes

ansible-playbook -e “my_item=True”

All content available through this Web Site is provided on an “AS IS” and “AS AVAILABLE” basis, with all faults. Tracston LTD makes no warranty or representation with respect to the quality, accuracy, or availability of the Web Site or any of its content.