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”