Role dependencies - parent or calling role's path

Is there any way to pass a parent or calling role’s name or file-path to dependencies as variable?