title: Using True False with Ansible When Clause
body: <p>I'm running into the silliest issue. 
  I cannot figure  out how to test for boolean in an Ansible 2.2 task file. </p>
  
  <p>In <code>vars/main.yml</code>, I have: </p>
  
  <pre><code>destroy: false
  </code></pre>
  
  <p>In the playbook,  I have:</p>
  
  <pre><code>roles: 
    - {'role': 'vmdeploy','destroy': true}
  </code></pre>
  
  <p>In the task file, I have the following: </p>
  
  <pre><code>- include: "create.yml"
    when: "{{ destroy|bool }} == 'false'"
  </code></pre>
  
  <p>I've tried various combinations below:</p>
  
  <pre><code>when: "{{ destroy|bool }} == false"
  when: "{{ destroy|bool }} == 'false'"
  when: "{{ destroy|bool  == false}}"
  when: "{{ destroy  == false}}"
  when: "{{ destroy  == 'false'}}"
  when: destroy|bool  == false
  when: destroy|bool  == 'false'
  when: not destroy|bool
  </code></pre>
  
  <p>In all the above cases, I still get:</p>
  
  <pre><code>statically included: .../vmdeploy/tasks/create.yml
  </code></pre>
  
  <p>Debug output:</p>
  
  <pre><code>- debug:
      msg: "{{ destroy }}"
  
  ---
  
  ok: [atlcicd009] =&gt; {
  "msg": true
  }
  </code></pre>
  
  <p>The desired result, is that it would skip the include. </p>