Howdy (again),
It seems like it would be nice if things like:
{{ lookup('file', 'foo.txt') }}
looked for 'foo.txt' in roles/curr_role/files/ before falling back to
looking in 'basedir'.
I'd be happy to write a patch to do so, but it doesn't seem like there's
a simple way to get the name of the role from any of the places where
the calls to run the plugin are made.
Is there any simple way of passing the role name (or the role's
directory) to a lookup plugin at run time?