ansible/ansible — pull request #2623 by willthames (2013-04-09 06:11:21+00:00)
Title: Playbook to demonstrate template logic error

Wasn't sure whether to raise an issue or a pull-request without a fix. Here's my PR that at least contains a test case.

Here templating goes too far
Need to test if a value is set (or unset) - but the value is substituted
before the test

Test with
```
ansible-playbook -i test/ansible_hosts -e 'external=xyz' test/playbook-when.yml
```