{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13563","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13563/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13563/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13563/events","html_url":"https://github.com/ansible/ansible/issues/13563","id":122347081,"number":13563,"title":"[2.0-rc1] ansible-galaxy no longer respects path in requirements file","user":{"login":"lae","id":1318013,"avatar_url":"https://avatars.githubusercontent.com/u/1318013?v=3","gravatar_id":"","url":"https://api.github.com/users/lae","html_url":"https://github.com/lae","followers_url":"https://api.github.com/users/lae/followers","following_url":"https://api.github.com/users/lae/following{/other_user}","gists_url":"https://api.github.com/users/lae/gists{/gist_id}","starred_url":"https://api.github.com/users/lae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lae/subscriptions","organizations_url":"https://api.github.com/users/lae/orgs","repos_url":"https://api.github.com/users/lae/repos","events_url":"https://api.github.com/users/lae/events{/privacy}","received_events_url":"https://api.github.com/users/lae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/stable-2.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"stable-2.0","description":"","creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":122,"closed_issues":952,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2016-08-01T22:07:54Z","due_on":null,"closed_at":null},"comments":20,"created_at":"2015-12-15T19:29:19Z","updated_at":"2016-08-06T03:05:05Z","closed_at":"2015-12-17T17:36:54Z","body":"##### Issue Type:\r\n\r\nBug Report\r\n\r\n##### Ansible Version:\r\n\r\nansible 2.0.0 (f2225395f96d5c309dddc66fafd984862d99b708)\r\n\r\n##### Ansible Configuration:\r\n\r\nno changes\r\n\r\n##### Environment:\r\n\r\nArch Linux\r\n\r\n##### Summary:\r\n\r\nMy existing requirements.yml files from using 1.9.4 and older now don't install roles into their specified directories, but instead tries to use the global roles directory.\r\n\r\n##### Steps To Reproduce:\r\n\r\nJust using a random role from GitHub:\r\n\r\n    $ cd $(mktemp -d)\r\n    $ cat >requirements.yml <<<EOL\r\n    - src: git+https://github.com/sfromm/ansible-epel.git\r\n      name: epel\r\n      path: ./\r\n    EOL\r\n    $ ansible-galaxy install -r requirements.yml \r\n\r\n##### Expected Results:\r\n\r\n    $ ansible-galaxy install -r requirements.yml \r\n    - executing: git clone https://github.com/sfromm/ansible-epel.git epel\r\n    - executing: git archive --prefix=epel/ --output=/tmp/tmp4UEDr0.tar HEAD\r\n    - extracting epel to ./epel\r\n    - epel was installed successfully\r\n\r\n##### Actual Results:\r\n\r\n    $ ansible-galaxy install -r requirements.yml \r\n    - extracting epel to /etc/ansible/roles/epel\r\n     [WARNING]: - epel was NOT installed successfully: ERROR! Could not update files in /etc/ansible/roles/epel: [Errno 13]\r\n    Permission denied: '/etc/ansible/roles'\r\n    \r\n    ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/238002484","html_url":"https://github.com/ansible/ansible/issues/13563#issuecomment-238002484","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13563","id":238002484,"user":{"login":"dccampbell","id":714546,"avatar_url":"https://avatars.githubusercontent.com/u/714546?v=3","gravatar_id":"","url":"https://api.github.com/users/dccampbell","html_url":"https://github.com/dccampbell","followers_url":"https://api.github.com/users/dccampbell/followers","following_url":"https://api.github.com/users/dccampbell/following{/other_user}","gists_url":"https://api.github.com/users/dccampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dccampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dccampbell/subscriptions","organizations_url":"https://api.github.com/users/dccampbell/orgs","repos_url":"https://api.github.com/users/dccampbell/repos","events_url":"https://api.github.com/users/dccampbell/events{/privacy}","received_events_url":"https://api.github.com/users/dccampbell/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T03:05:05Z","updated_at":"2016-08-06T03:05:05Z","body":"The hackish solutions to utilizing remote roles are bad enough as it is, this is yet another hoop to jump through. It already feels absurd there's no way to have a playbook just automatically download it's requirements, now on top of reminding everyone they have to run galaxy first they have to pass a path argument along with it. We're going to end up writing bash scripts just to execute our playbooks..."}}
{"actor":{"display_login":"dccampbell"}}