{"action":"opened","issue":{"url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/505","repository_url":"https://api.github.com/repos/geerlingguy/drupal-vm","labels_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/505/comments","events_url":"https://api.github.com/repos/geerlingguy/drupal-vm/issues/505/events","html_url":"https://github.com/geerlingguy/drupal-vm/issues/505","id":139019267,"number":505,"title":"Consider adding `ansible.cfg` and set roles path to the Drupal VM directory","user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T16:13:42Z","updated_at":"2016-03-07T16:13:42Z","closed_at":null,"body":"...this would allow for a few different things:\r\n\r\n  - Users would not need to use `sudo` to install roles, since they would be installed inside a `roles` directory inside the Drupal VM directory (if we set `roles_path` in the config file).\r\n  - Users could modify their `requirements.yml` file to lock down a specific version (albeit manually for now, since Galaxy doesn't have any true 'lockfile' like PHP's Composer or Rubygems, see: https://github.com/ansible/ansible/issues/13496).\r\n  - We could set a couple other custom settings if needed.\r\n\r\nA few references for further reading:\r\n\r\n  - http://docs.ansible.com/ansible/galaxy.html#roles-path\r\n  - http://leucos.github.io/ansible-files-layout/\r\n\r\nI'd also like to take a stab at improving the Galaxy documentation page linked above to include better/more comprehensive examples in the [role requirements files documentation](http://docs.ansible.com/ansible/galaxy.html#advanced-control-over-role-requirements-files)."}}