{"action":"opened","issue":{"url":"https://api.github.com/repos/metacloud/molecule/issues/1509","repository_url":"https://api.github.com/repos/metacloud/molecule","labels_url":"https://api.github.com/repos/metacloud/molecule/issues/1509/labels{/name}","comments_url":"https://api.github.com/repos/metacloud/molecule/issues/1509/comments","events_url":"https://api.github.com/repos/metacloud/molecule/issues/1509/events","html_url":"https://github.com/metacloud/molecule/issues/1509","id":369690602,"node_id":"MDU6SXNzdWUzNjk2OTA2MDI=","number":1509,"title":"`roles-path` for ansible-galaxy dependency cannot find paths relative to scenario directory","user":{"login":"adborden","id":509703,"node_id":"MDQ6VXNlcjUwOTcwMw==","avatar_url":"https://avatars2.githubusercontent.com/u/509703?v=4","gravatar_id":"","url":"https://api.github.com/users/adborden","html_url":"https://github.com/adborden","followers_url":"https://api.github.com/users/adborden/followers","following_url":"https://api.github.com/users/adborden/following{/other_user}","gists_url":"https://api.github.com/users/adborden/gists{/gist_id}","starred_url":"https://api.github.com/users/adborden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adborden/subscriptions","organizations_url":"https://api.github.com/users/adborden/orgs","repos_url":"https://api.github.com/users/adborden/repos","events_url":"https://api.github.com/users/adborden/events{/privacy}","received_events_url":"https://api.github.com/users/adborden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T19:57:22Z","updated_at":"2018-10-12T19:57:22Z","closed_at":null,"author_association":"NONE","body":"# Issue Type\r\n\r\n- Bug report\r\n\r\n\r\n# Molecule and Ansible details\r\n\r\n```\r\nansible --version\r\nansible 2.6.5\r\n```\r\n\r\n```\r\nmolecule --version\r\nmolecule, version 2.18.1\r\n```\r\n\r\nMolecule installation method (one of):\r\n\r\n- pip\r\n\r\nAnsible installation method (one of):\r\n\r\n- pip\r\n\r\n# Desired Behavior\r\n\r\nI'd like to share the `requirements.yml` file across scenarios similar to what's documented for [sharing other resources](https://molecule.readthedocs.io/en/latest/examples.html#sharing-across-scenarios). I would think specifying a relative roles-file would work.\r\n\r\n```yaml\r\ndependency:\r\n  name: galaxy\r\n  options:\r\n    roles-path: ../resources/requirements.yml\r\n```\r\n\r\n# Actual Behaviour (Bug report only)\r\n\r\nDependency is skipped because the roles file is not found. It looks like the path is relative to the working directory rather than the scenario directory. e.g. this works:\r\n\r\n```yaml\r\ndependency:\r\n  name: galaxy\r\n  options:\r\n    roles-path: molecule/resources/requirements.yml\r\n```\r\n"}}
{"actor":{"display_login":"adborden"}}