{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/82","labels_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/82/comments","events_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/82/events","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/82","id":69012968,"number":82,"title":"Postgres conf hostnames","user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T21:25:41Z","updated_at":"2015-04-16T22:05:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/pulls/82","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/82","diff_url":"https://github.com/dimagi/commcarehq-ansible/pull/82.diff","patch_url":"https://github.com/dimagi/commcarehq-ansible/pull/82.patch"},"body":"@dannyroberts this allows ansible to lookup the IP address of a hostname. Requires the version bump in ansible.\r\n\r\nOther changes:\r\n- Change `host` to `hostssl` (this is what we use in our prod environment)\r\n- Allow access to postgres via devreadonly user (also used in prod environment)\r\n\r\nThe domain lookup was tested using my Vagrant machine"},"comment":{"url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/comments/93850120","html_url":"https://github.com/dimagi/commcarehq-ansible/pull/82#issuecomment-93850120","issue_url":"https://api.github.com/repos/dimagi/commcarehq-ansible/issues/82","id":93850120,"user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T22:05:26Z","updated_at":"2015-04-16T22:05:26Z","body":"that's correct. as to whether it's a problem, it's probably not the best practice, but i don't think it's too big of a deal. since the pg connection is from inside the network doesn't that mean you'd have to be vpn'd in to possibly snoop on the connection?"}}