{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3","id":49688931,"html_url":"https://github.com/mackerelio/ansible-mackerel-agent/pull/3","diff_url":"https://github.com/mackerelio/ansible-mackerel-agent/pull/3.diff","patch_url":"https://github.com/mackerelio/ansible-mackerel-agent/pull/3.patch","issue_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/3","number":3,"state":"closed","locked":false,"title":"add AmazonLinux to target distributions","user":{"login":"Kuchitama","id":1175698,"avatar_url":"https://avatars.githubusercontent.com/u/1175698?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuchitama","html_url":"https://github.com/Kuchitama","followers_url":"https://api.github.com/users/Kuchitama/followers","following_url":"https://api.github.com/users/Kuchitama/following{/other_user}","gists_url":"https://api.github.com/users/Kuchitama/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuchitama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuchitama/subscriptions","organizations_url":"https://api.github.com/users/Kuchitama/orgs","repos_url":"https://api.github.com/users/Kuchitama/repos","events_url":"https://api.github.com/users/Kuchitama/events{/privacy}","received_events_url":"https://api.github.com/users/Kuchitama/received_events","type":"User","site_admin":false},"body":"The current version fail installation to AmazonLinux.\r\n\r\nThe reason of failure is `ansible_distribution ` is `Amazon` in AmazonLinux.\r\nTherefore the role couldn't run tasks in `centos.yml`.\r\n\r\nI added AmazonLinux and other distributions which use `yum` as package manager in this commit.","created_at":"2015-11-04T13:37:11Z","updated_at":"2015-11-05T03:22:55Z","closed_at":"2015-11-05T03:22:55Z","merged_at":"2015-11-05T03:22:55Z","merge_commit_sha":"63d233e5f74b88f267a0a51a1bcf0ea70522d937","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/3/comments","statuses_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/statuses/b8b744aaae0b613dade262917a7ee3585aa873d2","head":{"label":"Kuchitama:amazon-linux","ref":"amazon-linux","sha":"b8b744aaae0b613dade262917a7ee3585aa873d2","user":{"login":"Kuchitama","id":1175698,"avatar_url":"https://avatars.githubusercontent.com/u/1175698?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuchitama","html_url":"https://github.com/Kuchitama","followers_url":"https://api.github.com/users/Kuchitama/followers","following_url":"https://api.github.com/users/Kuchitama/following{/other_user}","gists_url":"https://api.github.com/users/Kuchitama/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuchitama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuchitama/subscriptions","organizations_url":"https://api.github.com/users/Kuchitama/orgs","repos_url":"https://api.github.com/users/Kuchitama/repos","events_url":"https://api.github.com/users/Kuchitama/events{/privacy}","received_events_url":"https://api.github.com/users/Kuchitama/received_events","type":"User","site_admin":false},"repo":{"id":45370183,"name":"ansible-mackerel-agent","full_name":"Kuchitama/ansible-mackerel-agent","owner":{"login":"Kuchitama","id":1175698,"avatar_url":"https://avatars.githubusercontent.com/u/1175698?v=3","gravatar_id":"","url":"https://api.github.com/users/Kuchitama","html_url":"https://github.com/Kuchitama","followers_url":"https://api.github.com/users/Kuchitama/followers","following_url":"https://api.github.com/users/Kuchitama/following{/other_user}","gists_url":"https://api.github.com/users/Kuchitama/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuchitama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuchitama/subscriptions","organizations_url":"https://api.github.com/users/Kuchitama/orgs","repos_url":"https://api.github.com/users/Kuchitama/repos","events_url":"https://api.github.com/users/Kuchitama/events{/privacy}","received_events_url":"https://api.github.com/users/Kuchitama/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kuchitama/ansible-mackerel-agent","description":"An Ansible role for mackerel-agent. (development version)","fork":true,"url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent","forks_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/forks","keys_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/teams","hooks_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/hooks","issue_events_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/issues/events{/number}","events_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/events","assignees_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/assignees{/user}","branches_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/branches{/branch}","tags_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/tags","blobs_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/languages","stargazers_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/stargazers","contributors_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/contributors","subscribers_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/subscribers","subscription_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/subscription","commits_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/contents/{+path}","compare_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/merges","archive_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/downloads","issues_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/issues{/number}","pulls_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/labels{/name}","releases_url":"https://api.github.com/repos/Kuchitama/ansible-mackerel-agent/releases{/id}","created_at":"2015-11-02T03:29:05Z","updated_at":"2015-11-02T03:29:06Z","pushed_at":"2015-11-04T15:10:13Z","git_url":"git://github.com/Kuchitama/ansible-mackerel-agent.git","ssh_url":"git@github.com:Kuchitama/ansible-mackerel-agent.git","clone_url":"https://github.com/Kuchitama/ansible-mackerel-agent.git","svn_url":"https://github.com/Kuchitama/ansible-mackerel-agent","homepage":"https://galaxy.ansible.com/list#/roles/2961","size":89,"stargazers_count":0,"watchers_count":0,"language":"Makefile","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":"mackerelio:master","ref":"master","sha":"a280fcd38026be06c51cc334e6eb606a6f4954a9","user":{"login":"mackerelio","id":6637336,"avatar_url":"https://avatars.githubusercontent.com/u/6637336?v=3","gravatar_id":"","url":"https://api.github.com/users/mackerelio","html_url":"https://github.com/mackerelio","followers_url":"https://api.github.com/users/mackerelio/followers","following_url":"https://api.github.com/users/mackerelio/following{/other_user}","gists_url":"https://api.github.com/users/mackerelio/gists{/gist_id}","starred_url":"https://api.github.com/users/mackerelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackerelio/subscriptions","organizations_url":"https://api.github.com/users/mackerelio/orgs","repos_url":"https://api.github.com/users/mackerelio/repos","events_url":"https://api.github.com/users/mackerelio/events{/privacy}","received_events_url":"https://api.github.com/users/mackerelio/received_events","type":"Organization","site_admin":false},"repo":{"id":28335732,"name":"ansible-mackerel-agent","full_name":"mackerelio/ansible-mackerel-agent","owner":{"login":"mackerelio","id":6637336,"avatar_url":"https://avatars.githubusercontent.com/u/6637336?v=3","gravatar_id":"","url":"https://api.github.com/users/mackerelio","html_url":"https://github.com/mackerelio","followers_url":"https://api.github.com/users/mackerelio/followers","following_url":"https://api.github.com/users/mackerelio/following{/other_user}","gists_url":"https://api.github.com/users/mackerelio/gists{/gist_id}","starred_url":"https://api.github.com/users/mackerelio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackerelio/subscriptions","organizations_url":"https://api.github.com/users/mackerelio/orgs","repos_url":"https://api.github.com/users/mackerelio/repos","events_url":"https://api.github.com/users/mackerelio/events{/privacy}","received_events_url":"https://api.github.com/users/mackerelio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mackerelio/ansible-mackerel-agent","description":"An Ansible role for mackerel-agent. (development version)","fork":false,"url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent","forks_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/forks","keys_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/teams","hooks_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/hooks","issue_events_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/events{/number}","events_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/events","assignees_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/assignees{/user}","branches_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/branches{/branch}","tags_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/tags","blobs_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/git/refs{/sha}","trees_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/statuses/{sha}","languages_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/languages","stargazers_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/stargazers","contributors_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/contributors","subscribers_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/subscribers","subscription_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/subscription","commits_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/commits{/sha}","git_commits_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/git/commits{/sha}","comments_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/comments{/number}","issue_comment_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/comments{/number}","contents_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/contents/{+path}","compare_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/merges","archive_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/downloads","issues_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues{/number}","pulls_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls{/number}","milestones_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/milestones{/number}","notifications_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/labels{/name}","releases_url":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/releases{/id}","created_at":"2014-12-22T11:19:50Z","updated_at":"2015-11-05T03:18:13Z","pushed_at":"2015-11-05T03:22:55Z","git_url":"git://github.com/mackerelio/ansible-mackerel-agent.git","ssh_url":"git@github.com:mackerelio/ansible-mackerel-agent.git","clone_url":"https://github.com/mackerelio/ansible-mackerel-agent.git","svn_url":"https://github.com/mackerelio/ansible-mackerel-agent","homepage":"https://galaxy.ansible.com/detail#/role/2961","size":177,"stargazers_count":3,"watchers_count":3,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3"},"html":{"href":"https://github.com/mackerelio/ansible-mackerel-agent/pull/3"},"issue":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/3"},"comments":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mackerelio/ansible-mackerel-agent/statuses/b8b744aaae0b613dade262917a7ee3585aa873d2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yuuki1","id":473708,"avatar_url":"https://avatars.githubusercontent.com/u/473708?v=3","gravatar_id":"","url":"https://api.github.com/users/yuuki1","html_url":"https://github.com/yuuki1","followers_url":"https://api.github.com/users/yuuki1/followers","following_url":"https://api.github.com/users/yuuki1/following{/other_user}","gists_url":"https://api.github.com/users/yuuki1/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki1/subscriptions","organizations_url":"https://api.github.com/users/yuuki1/orgs","repos_url":"https://api.github.com/users/yuuki1/repos","events_url":"https://api.github.com/users/yuuki1/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki1/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}