{"action":"created","comment":{"url":"https://api.github.com/repos/ANXS/postgresql/pulls/comments/79775470","id":79775470,"diff_hunk":"@@ -12,3 +12,19 @@\n     - \"postgresql-{{postgresql_version}}-postgis-scripts\"\n   notify:\n     - restart postgresql\n+  when: ansible_os_family == \"Debian\"\n+\n+\n+- name: PostgreSQL | Extensions | Make sure the postgis extensions are installed | RedHat\n+  yum:\n+    name: \"{{item}}\"\n+    state: present\n+  with_items:\n+    - \"postgis2_{{postgresql_version_terse}}\"\n+    - \"postgis2_{{postgresql_version_terse}}-client\"\n+    - \"postgis2_{{postgresql_version_terse}}-devel\"","path":"tasks/extensions/postgis.yml","position":14,"original_position":14,"commit_id":"299742e8edd487242f756087be62f7e32b38d5d1","original_commit_id":"299742e8edd487242f756087be62f7e32b38d5d1","user":{"login":"UnderGreen","id":2656737,"avatar_url":"https://avatars.githubusercontent.com/u/2656737?v=3","gravatar_id":"","url":"https://api.github.com/users/UnderGreen","html_url":"https://github.com/UnderGreen","followers_url":"https://api.github.com/users/UnderGreen/followers","following_url":"https://api.github.com/users/UnderGreen/following{/other_user}","gists_url":"https://api.github.com/users/UnderGreen/gists{/gist_id}","starred_url":"https://api.github.com/users/UnderGreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnderGreen/subscriptions","organizations_url":"https://api.github.com/users/UnderGreen/orgs","repos_url":"https://api.github.com/users/UnderGreen/repos","events_url":"https://api.github.com/users/UnderGreen/events{/privacy}","received_events_url":"https://api.github.com/users/UnderGreen/received_events","type":"User","site_admin":false},"body":"PostgreSQL dev headers not corellate with postgis extension. I think, installation of dev packages should be manually. For production use its not necessary. ","created_at":"2016-09-21T07:41:30Z","updated_at":"2016-09-21T07:41:30Z","html_url":"https://github.com/ANXS/postgresql/pull/200#discussion_r79775470","pull_request_url":"https://api.github.com/repos/ANXS/postgresql/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/comments/79775470"},"html":{"href":"https://github.com/ANXS/postgresql/pull/200#discussion_r79775470"},"pull_request":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/ANXS/postgresql/pulls/200","id":86101620,"html_url":"https://github.com/ANXS/postgresql/pull/200","diff_url":"https://github.com/ANXS/postgresql/pull/200.diff","patch_url":"https://github.com/ANXS/postgresql/pull/200.patch","issue_url":"https://api.github.com/repos/ANXS/postgresql/issues/200","number":200,"state":"open","locked":false,"title":"Fixed installation of dev_headers and postgis on RedHat","user":{"login":"mjuenema","id":6938864,"avatar_url":"https://avatars.githubusercontent.com/u/6938864?v=3","gravatar_id":"","url":"https://api.github.com/users/mjuenema","html_url":"https://github.com/mjuenema","followers_url":"https://api.github.com/users/mjuenema/followers","following_url":"https://api.github.com/users/mjuenema/following{/other_user}","gists_url":"https://api.github.com/users/mjuenema/gists{/gist_id}","starred_url":"https://api.github.com/users/mjuenema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjuenema/subscriptions","organizations_url":"https://api.github.com/users/mjuenema/orgs","repos_url":"https://api.github.com/users/mjuenema/repos","events_url":"https://api.github.com/users/mjuenema/events{/privacy}","received_events_url":"https://api.github.com/users/mjuenema/received_events","type":"User","site_admin":false},"body":"This fixes the problem that there where o steps to install dev_headers and postgis on RedHat. This should also fix issue #194.\r\n\r\nMarkus","created_at":"2016-09-21T05:52:52Z","updated_at":"2016-09-21T07:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29a219289066e8c146635aff4606e8af2633ac3f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ANXS/postgresql/pulls/200/commits","review_comments_url":"https://api.github.com/repos/ANXS/postgresql/pulls/200/comments","review_comment_url":"https://api.github.com/repos/ANXS/postgresql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ANXS/postgresql/issues/200/comments","statuses_url":"https://api.github.com/repos/ANXS/postgresql/statuses/299742e8edd487242f756087be62f7e32b38d5d1","head":{"label":"mjuenema:master","ref":"master","sha":"299742e8edd487242f756087be62f7e32b38d5d1","user":{"login":"mjuenema","id":6938864,"avatar_url":"https://avatars.githubusercontent.com/u/6938864?v=3","gravatar_id":"","url":"https://api.github.com/users/mjuenema","html_url":"https://github.com/mjuenema","followers_url":"https://api.github.com/users/mjuenema/followers","following_url":"https://api.github.com/users/mjuenema/following{/other_user}","gists_url":"https://api.github.com/users/mjuenema/gists{/gist_id}","starred_url":"https://api.github.com/users/mjuenema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjuenema/subscriptions","organizations_url":"https://api.github.com/users/mjuenema/orgs","repos_url":"https://api.github.com/users/mjuenema/repos","events_url":"https://api.github.com/users/mjuenema/events{/privacy}","received_events_url":"https://api.github.com/users/mjuenema/received_events","type":"User","site_admin":false},"repo":{"id":68779298,"name":"postgresql","full_name":"mjuenema/postgresql","owner":{"login":"mjuenema","id":6938864,"avatar_url":"https://avatars.githubusercontent.com/u/6938864?v=3","gravatar_id":"","url":"https://api.github.com/users/mjuenema","html_url":"https://github.com/mjuenema","followers_url":"https://api.github.com/users/mjuenema/followers","following_url":"https://api.github.com/users/mjuenema/following{/other_user}","gists_url":"https://api.github.com/users/mjuenema/gists{/gist_id}","starred_url":"https://api.github.com/users/mjuenema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjuenema/subscriptions","organizations_url":"https://api.github.com/users/mjuenema/orgs","repos_url":"https://api.github.com/users/mjuenema/repos","events_url":"https://api.github.com/users/mjuenema/events{/privacy}","received_events_url":"https://api.github.com/users/mjuenema/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjuenema/postgresql","description":"Ansible role for PostgreSQL","fork":true,"url":"https://api.github.com/repos/mjuenema/postgresql","forks_url":"https://api.github.com/repos/mjuenema/postgresql/forks","keys_url":"https://api.github.com/repos/mjuenema/postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjuenema/postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjuenema/postgresql/teams","hooks_url":"https://api.github.com/repos/mjuenema/postgresql/hooks","issue_events_url":"https://api.github.com/repos/mjuenema/postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/mjuenema/postgresql/events","assignees_url":"https://api.github.com/repos/mjuenema/postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/mjuenema/postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/mjuenema/postgresql/tags","blobs_url":"https://api.github.com/repos/mjuenema/postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjuenema/postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjuenema/postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjuenema/postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjuenema/postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/mjuenema/postgresql/languages","stargazers_url":"https://api.github.com/repos/mjuenema/postgresql/stargazers","contributors_url":"https://api.github.com/repos/mjuenema/postgresql/contributors","subscribers_url":"https://api.github.com/repos/mjuenema/postgresql/subscribers","subscription_url":"https://api.github.com/repos/mjuenema/postgresql/subscription","commits_url":"https://api.github.com/repos/mjuenema/postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjuenema/postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjuenema/postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjuenema/postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjuenema/postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/mjuenema/postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjuenema/postgresql/merges","archive_url":"https://api.github.com/repos/mjuenema/postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjuenema/postgresql/downloads","issues_url":"https://api.github.com/repos/mjuenema/postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/mjuenema/postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/mjuenema/postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/mjuenema/postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjuenema/postgresql/labels{/name}","releases_url":"https://api.github.com/repos/mjuenema/postgresql/releases{/id}","deployments_url":"https://api.github.com/repos/mjuenema/postgresql/deployments","created_at":"2016-09-21T04:12:09Z","updated_at":"2016-09-21T04:12:10Z","pushed_at":"2016-09-21T05:49:32Z","git_url":"git://github.com/mjuenema/postgresql.git","ssh_url":"git@github.com:mjuenema/postgresql.git","clone_url":"https://github.com/mjuenema/postgresql.git","svn_url":"https://github.com/mjuenema/postgresql","homepage":null,"size":205,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ANXS:master","ref":"master","sha":"475e292f505be0d99cc20e2517043c30353a092c","user":{"login":"ANXS","id":6914842,"avatar_url":"https://avatars.githubusercontent.com/u/6914842?v=3","gravatar_id":"","url":"https://api.github.com/users/ANXS","html_url":"https://github.com/ANXS","followers_url":"https://api.github.com/users/ANXS/followers","following_url":"https://api.github.com/users/ANXS/following{/other_user}","gists_url":"https://api.github.com/users/ANXS/gists{/gist_id}","starred_url":"https://api.github.com/users/ANXS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ANXS/subscriptions","organizations_url":"https://api.github.com/users/ANXS/orgs","repos_url":"https://api.github.com/users/ANXS/repos","events_url":"https://api.github.com/users/ANXS/events{/privacy}","received_events_url":"https://api.github.com/users/ANXS/received_events","type":"Organization","site_admin":false},"repo":{"id":17628006,"name":"postgresql","full_name":"ANXS/postgresql","owner":{"login":"ANXS","id":6914842,"avatar_url":"https://avatars.githubusercontent.com/u/6914842?v=3","gravatar_id":"","url":"https://api.github.com/users/ANXS","html_url":"https://github.com/ANXS","followers_url":"https://api.github.com/users/ANXS/followers","following_url":"https://api.github.com/users/ANXS/following{/other_user}","gists_url":"https://api.github.com/users/ANXS/gists{/gist_id}","starred_url":"https://api.github.com/users/ANXS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ANXS/subscriptions","organizations_url":"https://api.github.com/users/ANXS/orgs","repos_url":"https://api.github.com/users/ANXS/repos","events_url":"https://api.github.com/users/ANXS/events{/privacy}","received_events_url":"https://api.github.com/users/ANXS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ANXS/postgresql","description":"Ansible role for PostgreSQL","fork":false,"url":"https://api.github.com/repos/ANXS/postgresql","forks_url":"https://api.github.com/repos/ANXS/postgresql/forks","keys_url":"https://api.github.com/repos/ANXS/postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ANXS/postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ANXS/postgresql/teams","hooks_url":"https://api.github.com/repos/ANXS/postgresql/hooks","issue_events_url":"https://api.github.com/repos/ANXS/postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/ANXS/postgresql/events","assignees_url":"https://api.github.com/repos/ANXS/postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/ANXS/postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/ANXS/postgresql/tags","blobs_url":"https://api.github.com/repos/ANXS/postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ANXS/postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ANXS/postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/ANXS/postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ANXS/postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/ANXS/postgresql/languages","stargazers_url":"https://api.github.com/repos/ANXS/postgresql/stargazers","contributors_url":"https://api.github.com/repos/ANXS/postgresql/contributors","subscribers_url":"https://api.github.com/repos/ANXS/postgresql/subscribers","subscription_url":"https://api.github.com/repos/ANXS/postgresql/subscription","commits_url":"https://api.github.com/repos/ANXS/postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/ANXS/postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/ANXS/postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/ANXS/postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/ANXS/postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/ANXS/postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ANXS/postgresql/merges","archive_url":"https://api.github.com/repos/ANXS/postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ANXS/postgresql/downloads","issues_url":"https://api.github.com/repos/ANXS/postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/ANXS/postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/ANXS/postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/ANXS/postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ANXS/postgresql/labels{/name}","releases_url":"https://api.github.com/repos/ANXS/postgresql/releases{/id}","deployments_url":"https://api.github.com/repos/ANXS/postgresql/deployments","created_at":"2014-03-11T11:27:43Z","updated_at":"2016-09-16T18:05:08Z","pushed_at":"2016-09-21T05:52:53Z","git_url":"git://github.com/ANXS/postgresql.git","ssh_url":"git@github.com:ANXS/postgresql.git","clone_url":"https://github.com/ANXS/postgresql.git","svn_url":"https://github.com/ANXS/postgresql","homepage":null,"size":290,"stargazers_count":291,"watchers_count":291,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":193,"mirror_url":null,"open_issues_count":63,"forks":193,"open_issues":63,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/200"},"html":{"href":"https://github.com/ANXS/postgresql/pull/200"},"issue":{"href":"https://api.github.com/repos/ANXS/postgresql/issues/200"},"comments":{"href":"https://api.github.com/repos/ANXS/postgresql/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ANXS/postgresql/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/ANXS/postgresql/statuses/299742e8edd487242f756087be62f7e32b38d5d1"}}}}
{"actor":{"display_login":"UnderGreen"}}