{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1936","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1936/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1936/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1936/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/1936","id":101846921,"number":1936,"title":"Postgres user module tries to alter user even without changes leading to fails on replication slaves","user":{"login":"mkrull","id":4057793,"avatar_url":"https://avatars.githubusercontent.com/u/4057793?v=3","gravatar_id":"","url":"https://api.github.com/users/mkrull","html_url":"https://github.com/mkrull","followers_url":"https://api.github.com/users/mkrull/followers","following_url":"https://api.github.com/users/mkrull/following{/other_user}","gists_url":"https://api.github.com/users/mkrull/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrull/subscriptions","organizations_url":"https://api.github.com/users/mkrull/orgs","repos_url":"https://api.github.com/users/mkrull/repos","events_url":"https://api.github.com/users/mkrull/events{/privacy}","received_events_url":"https://api.github.com/users/mkrull/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/affects_2.1","name":"affects_2.1","color":"5319e7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/waiting_on_maintainer","name":"waiting_on_maintainer","color":"d93f0b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-08-19T09:35:17Z","updated_at":"2016-10-22T09:19:27Z","closed_at":null,"body":"Ensuring a replication user exists should not fail on read only systems if no changes need to be performed.\r\n\r\n    - name: Add replication user\r\n      sudo_user: postgres\r\n      postgresql_user: name={{ postgresql_replicator_name }}\r\n                       password={{ postgresql_replicator_pass }}\r\n                       role_attr_flags=REPLICATION\r\n                       state=present\r\n\r\nFails on up and running replication slaves even without pending changes with\r\n\r\n    msg: ERROR:  cannot execute ALTER ROLE in a read-only transaction\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/255517227","html_url":"https://github.com/ansible/ansible-modules-core/issues/1936#issuecomment-255517227","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1936","id":255517227,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars.githubusercontent.com/u/6585283?v=3","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T09:19:27Z","updated_at":"2016-10-22T09:19:27Z","body":"@ansible, ping. This issue is still waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n<!--- boilerplate: issue_renotify_maintainer --->"}}
{"actor":{"display_login":"ansibot"}}