ansible/ansible — pull request #9793 by nremond (2014-12-12 11:19:15+00:00)
Title: Variables lookup in a template should handle properly the undefined case

Hi,

If I create a role that is only doing this action :
```ansible
- authorized_key: user=deploy key="{{ lookup('file', item) }}"
with_fileglob:
- ../keys/*
```

I end up with the following error: ```ERROR: Unexpected error in during lookup: 'item' is undefined```.

With the provided patch, Ansible is successfully executing the role.

Thanks