ansible/ansible — pull request #8703 by sergevanginderachter (2014-08-21 10:04:18+00:00)
Title: roles: make role_path (path of current role) available as variable to the task

Use case: several, e.g. need to do "local_action: command ls files/' to get a list of file to be handled in a later task into a registered variable. Right now there is no certain way to know that path when writing a public role, given command/shell module doesn't look any basedirs.

Also one of the requests in #6955