{"action":"created","comment":{"url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/comments/177410826","pull_request_review_id":107274256,"id":177410826,"diff_hunk":"@@ -22,6 +23,7 @@ case \"$1\" in\n               cp \"$conf_fragment\" \"{{ LOAD_BALANCER_CONF_DIR }}/$fragment_name\"\n         flock -s \"{{ LOAD_BALANCER_BACKENDS_DIR }}\" \\\n               awk '{print tolower($1) \" \" $2}' \"$map_fragment\" > \"{{ LOAD_BALANCER_BACKENDS_DIR }}/$fragment_name\"\n+        if command -v etckeeper &> /dev/null; then etckeeper commit; fi","path":"templates/haproxy-config","position":12,"original_position":12,"commit_id":"f8d2f9b7e02277b8be2360b3cfac27c5535bbde2","original_commit_id":"f8d2f9b7e02277b8be2360b3cfac27c5535bbde2","user":{"login":"smarnach","id":249196,"avatar_url":"https://avatars1.githubusercontent.com/u/249196?v=4","gravatar_id":"","url":"https://api.github.com/users/smarnach","html_url":"https://github.com/smarnach","followers_url":"https://api.github.com/users/smarnach/followers","following_url":"https://api.github.com/users/smarnach/following{/other_user}","gists_url":"https://api.github.com/users/smarnach/gists{/gist_id}","starred_url":"https://api.github.com/users/smarnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarnach/subscriptions","organizations_url":"https://api.github.com/users/smarnach/orgs","repos_url":"https://api.github.com/users/smarnach/repos","events_url":"https://api.github.com/users/smarnach/events{/privacy}","received_events_url":"https://api.github.com/users/smarnach/received_events","type":"User","site_admin":false},"body":"Could you please add a commit message?  It can be passed as parameter to `etckeeper commit`, e.g.\r\n\r\n    etckeeper commit \"Auto-commit after `haproxy-config apply`.\"\r\n\r\nor similar.","created_at":"2018-03-27T12:49:31Z","updated_at":"2018-03-27T12:49:31Z","html_url":"https://github.com/open-craft/ansible-load-balancer/pull/19#discussion_r177410826","pull_request_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/comments/177410826"},"html":{"href":"https://github.com/open-craft/ansible-load-balancer/pull/19#discussion_r177410826"},"pull_request":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19","id":177721944,"html_url":"https://github.com/open-craft/ansible-load-balancer/pull/19","diff_url":"https://github.com/open-craft/ansible-load-balancer/pull/19.diff","patch_url":"https://github.com/open-craft/ansible-load-balancer/pull/19.patch","issue_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/19","number":19,"state":"open","locked":false,"title":"Commit to etckeeper each time we apply a change.","user":{"login":"UmanShahzad","id":10018065,"avatar_url":"https://avatars0.githubusercontent.com/u/10018065?v=4","gravatar_id":"","url":"https://api.github.com/users/UmanShahzad","html_url":"https://github.com/UmanShahzad","followers_url":"https://api.github.com/users/UmanShahzad/followers","following_url":"https://api.github.com/users/UmanShahzad/following{/other_user}","gists_url":"https://api.github.com/users/UmanShahzad/gists{/gist_id}","starred_url":"https://api.github.com/users/UmanShahzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UmanShahzad/subscriptions","organizations_url":"https://api.github.com/users/UmanShahzad/orgs","repos_url":"https://api.github.com/users/UmanShahzad/repos","events_url":"https://api.github.com/users/UmanShahzad/events{/privacy}","received_events_url":"https://api.github.com/users/UmanShahzad/received_events","type":"User","site_admin":false},"body":"Should help us debug differences between HAProxy configurations since we don't currently track them.","created_at":"2018-03-27T12:20:23Z","updated_at":"2018-03-27T12:49:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"33fa7f6f59170a225481a4ce321d2ffc6a777869","assignee":{"login":"UmanShahzad","id":10018065,"avatar_url":"https://avatars0.githubusercontent.com/u/10018065?v=4","gravatar_id":"","url":"https://api.github.com/users/UmanShahzad","html_url":"https://github.com/UmanShahzad","followers_url":"https://api.github.com/users/UmanShahzad/followers","following_url":"https://api.github.com/users/UmanShahzad/following{/other_user}","gists_url":"https://api.github.com/users/UmanShahzad/gists{/gist_id}","starred_url":"https://api.github.com/users/UmanShahzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UmanShahzad/subscriptions","organizations_url":"https://api.github.com/users/UmanShahzad/orgs","repos_url":"https://api.github.com/users/UmanShahzad/repos","events_url":"https://api.github.com/users/UmanShahzad/events{/privacy}","received_events_url":"https://api.github.com/users/UmanShahzad/received_events","type":"User","site_admin":false},"assignees":[{"login":"UmanShahzad","id":10018065,"avatar_url":"https://avatars0.githubusercontent.com/u/10018065?v=4","gravatar_id":"","url":"https://api.github.com/users/UmanShahzad","html_url":"https://github.com/UmanShahzad","followers_url":"https://api.github.com/users/UmanShahzad/followers","following_url":"https://api.github.com/users/UmanShahzad/following{/other_user}","gists_url":"https://api.github.com/users/UmanShahzad/gists{/gist_id}","starred_url":"https://api.github.com/users/UmanShahzad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UmanShahzad/subscriptions","organizations_url":"https://api.github.com/users/UmanShahzad/orgs","repos_url":"https://api.github.com/users/UmanShahzad/repos","events_url":"https://api.github.com/users/UmanShahzad/events{/privacy}","received_events_url":"https://api.github.com/users/UmanShahzad/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19/commits","review_comments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19/comments","review_comment_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/19/comments","statuses_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/statuses/f8d2f9b7e02277b8be2360b3cfac27c5535bbde2","head":{"label":"open-craft:uman/etckeeper-commit","ref":"uman/etckeeper-commit","sha":"f8d2f9b7e02277b8be2360b3cfac27c5535bbde2","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars0.githubusercontent.com/u/7414786?v=4","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":69037698,"name":"ansible-load-balancer","full_name":"open-craft/ansible-load-balancer","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars0.githubusercontent.com/u/7414786?v=4","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/ansible-load-balancer","description":"Ansible role to deploy a load balancer for the OpenCraft Instance Manager.","fork":false,"url":"https://api.github.com/repos/open-craft/ansible-load-balancer","forks_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/forks","keys_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/teams","hooks_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/hooks","issue_events_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/events","assignees_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/tags","blobs_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/languages","stargazers_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/stargazers","contributors_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/contributors","subscribers_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/subscribers","subscription_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/subscription","commits_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/merges","archive_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/downloads","issues_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/releases{/id}","deployments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/deployments","created_at":"2016-09-23T15:32:46Z","updated_at":"2018-03-20T12:28:29Z","pushed_at":"2018-03-27T12:47:23Z","git_url":"git://github.com/open-craft/ansible-load-balancer.git","ssh_url":"git@github.com:open-craft/ansible-load-balancer.git","clone_url":"https://github.com/open-craft/ansible-load-balancer.git","svn_url":"https://github.com/open-craft/ansible-load-balancer","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"open-craft:master","ref":"master","sha":"8df4a60353398f3837314378e685db7a62b933b9","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars0.githubusercontent.com/u/7414786?v=4","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":69037698,"name":"ansible-load-balancer","full_name":"open-craft/ansible-load-balancer","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars0.githubusercontent.com/u/7414786?v=4","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/ansible-load-balancer","description":"Ansible role to deploy a load balancer for the OpenCraft Instance Manager.","fork":false,"url":"https://api.github.com/repos/open-craft/ansible-load-balancer","forks_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/forks","keys_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/teams","hooks_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/hooks","issue_events_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/events","assignees_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/tags","blobs_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/languages","stargazers_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/stargazers","contributors_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/contributors","subscribers_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/subscribers","subscription_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/subscription","commits_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/merges","archive_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/downloads","issues_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/releases{/id}","deployments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/deployments","created_at":"2016-09-23T15:32:46Z","updated_at":"2018-03-20T12:28:29Z","pushed_at":"2018-03-27T12:47:23Z","git_url":"git://github.com/open-craft/ansible-load-balancer.git","ssh_url":"git@github.com:open-craft/ansible-load-balancer.git","clone_url":"https://github.com/open-craft/ansible-load-balancer.git","svn_url":"https://github.com/open-craft/ansible-load-balancer","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19"},"html":{"href":"https://github.com/open-craft/ansible-load-balancer/pull/19"},"issue":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/19"},"comments":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/open-craft/ansible-load-balancer/statuses/f8d2f9b7e02277b8be2360b3cfac27c5535bbde2"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"smarnach"}}