I'm using a task similar to this to add keys to a remote user:
- authorized_key: user=bob key='{{lookup("file", item)}}'
with_fileglob:
- /some/absolute/path/id_*.pub
This worked fine up to (and including) 1.8.1
In 1.8.2, I'm getting: ERROR: Unexpected error in during lookup: 'item' is undefined