{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/14735","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/14735/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/14735/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/14735/events","html_url":"https://github.com/ansible/ansible/pull/14735","id":137706760,"number":14735,"title":"Lookup netrc for credentials in open_url","user":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible/labels/needs_revision","name":"needs_revision","color":"eb6450"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/6","html_url":"https://github.com/ansible/ansible/milestones/2.1.0","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/6/labels","id":995714,"number":6,"title":"2.1.0","description":"","creator":{"login":"abadger","id":209242,"avatar_url":"https://avatars.githubusercontent.com/u/209242?v=3","gravatar_id":"","url":"https://api.github.com/users/abadger","html_url":"https://github.com/abadger","followers_url":"https://api.github.com/users/abadger/followers","following_url":"https://api.github.com/users/abadger/following{/other_user}","gists_url":"https://api.github.com/users/abadger/gists{/gist_id}","starred_url":"https://api.github.com/users/abadger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abadger/subscriptions","organizations_url":"https://api.github.com/users/abadger/orgs","repos_url":"https://api.github.com/users/abadger/repos","events_url":"https://api.github.com/users/abadger/events{/privacy}","received_events_url":"https://api.github.com/users/abadger/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":108,"state":"open","created_at":"2015-02-25T19:26:53Z","updated_at":"2016-03-28T16:22:00Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-01T22:34:01Z","updated_at":"2016-03-28T22:31:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/14735","html_url":"https://github.com/ansible/ansible/pull/14735","diff_url":"https://github.com/ansible/ansible/pull/14735.diff","patch_url":"https://github.com/ansible/ansible/pull/14735.patch"},"body":"##### Issue Type:\r\n\r\n - Feature Pull Request\r\n\r\n##### Ansible Version:\r\n\r\n```\r\nansible 2.1.0 (open_url-netrc 9c4548e583) last updated 2016/03/02 09:26:26 (GMT +1100)\r\n  lib/ansible/modules/core: (detached HEAD 45367c3d09) last updated 2016/03/02 09:12:20 (GMT +1100)\r\n  lib/ansible/modules/extras: (detached HEAD 479f99678b) last updated 2016/03/02 09:13:50 (GMT +1100)\r\n  config file = /Users/jsok/.ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### Summary:\r\n\r\nAdds support for fetching HTTP basic auth credentials from an [netrc](https://docs.python.org/2/library/netrc.html) file.\r\n\r\ne.g. Installing ansible roles via `ansible-galaxy` which are hosted on a private HTTP server.\r\n\r\n##### Example output:\r\n\r\nTo use a netrc not in the standard search path of the `netrc` module (`$HOME/.nertc` on unixes):\r\n```\r\nenv NETRC=/path/to/netrc ansible-galaxy install -r requirements.yml\r\n```\r\n\r\nOtherwise existing behaviour and output it unmodified.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/202604825","html_url":"https://github.com/ansible/ansible/pull/14735#issuecomment-202604825","issue_url":"https://api.github.com/repos/ansible/ansible/issues/14735","id":202604825,"user":{"login":"jsok","id":737907,"avatar_url":"https://avatars.githubusercontent.com/u/737907?v=3","gravatar_id":"","url":"https://api.github.com/users/jsok","html_url":"https://github.com/jsok","followers_url":"https://api.github.com/users/jsok/followers","following_url":"https://api.github.com/users/jsok/following{/other_user}","gists_url":"https://api.github.com/users/jsok/gists{/gist_id}","starred_url":"https://api.github.com/users/jsok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsok/subscriptions","organizations_url":"https://api.github.com/users/jsok/orgs","repos_url":"https://api.github.com/users/jsok/repos","events_url":"https://api.github.com/users/jsok/events{/privacy}","received_events_url":"https://api.github.com/users/jsok/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T22:31:52Z","updated_at":"2016-03-28T22:31:52Z","body":"Hi @bcoca, is there anything else I can do to help get this PR reviewed and merged?"}}