ansible/ansible — pull request #7608 by jjneely (2014-05-30 20:46:03+00:00)
Title: template.py: Handle purposely raised exceptions in lookup()

If a lookup plugin is run by the lookup() template method it should pass
along any AnsibleError (or child exception classes) rather than just eat
them. These exceptions are purposely raised by the plugin.

This was broken by: https://github.com/ansible/ansible/issues/5059