# vars\_prompt defaults not evaluating correctly with bool filter

**URL:** <https://forum.ansible.com/t/vars-prompt-defaults-not-evaluating-correctly-with-bool-filter/17492>\
**Category:** Ansible Project\
**Created:** [February 10, 2015, 6:48pm UTC](https://forum.ansible.com/t/vars-prompt-defaults-not-evaluating-correctly-with-bool-filter/17492 "2015-02-10T18:48:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Mills](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Aaron\_Mills](https://forum.ansible.com/u/Aaron_Mills)\
**Post date:** [February 10, 2015, 6:48pm UTC](https://forum.ansible.com/t/vars-prompt-defaults-not-evaluating-correctly-with-bool-filter/17492/1 "2015-02-10T18:48:28Z")

</div>

Greetings,

In one of my playbooks, I prompt for a value that, if specified as a string, will later be used in another play. However, I can’t seem to find a consistent way to evaluate the truthiness/falsiness of the var. Here’s a sample playbook:

`
