lookup a file from a role outside the role directory

I want to pass a file path into a role and use it with a lookup plugin:

    lookup('file', some_variable)

That only seems to be working if the some_variable is a relative path
in the roles/files directory.

How can I lookup a path relative to the current directory when I run
ansible-playbook or to an absolute path?

Pretty much everyone wanted lookup paths to be relative to the role, so we fixed the glitch.

You can “climb out” of the role using “…/” etc.