{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5","id":37635017,"html_url":"https://github.com/knopki/ansible-sudoers/pull/5","diff_url":"https://github.com/knopki/ansible-sudoers/pull/5.diff","patch_url":"https://github.com/knopki/ansible-sudoers/pull/5.patch","issue_url":"https://api.github.com/repos/knopki/ansible-sudoers/issues/5","number":5,"state":"open","locked":false,"title":"Add more fine-grained control over the sudoers files.","user":{"login":"mchlumsky","id":6088545,"avatar_url":"https://avatars.githubusercontent.com/u/6088545?v=3","gravatar_id":"","url":"https://api.github.com/users/mchlumsky","html_url":"https://github.com/mchlumsky","followers_url":"https://api.github.com/users/mchlumsky/followers","following_url":"https://api.github.com/users/mchlumsky/following{/other_user}","gists_url":"https://api.github.com/users/mchlumsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mchlumsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchlumsky/subscriptions","organizations_url":"https://api.github.com/users/mchlumsky/orgs","repos_url":"https://api.github.com/users/mchlumsky/repos","events_url":"https://api.github.com/users/mchlumsky/events{/privacy}","received_events_url":"https://api.github.com/users/mchlumsky/received_events","type":"User","site_admin":false},"body":"This request adds more fine-grained control over the sudoers files.\r\nYou can now specify:\r\n- users to run commands as\r\n- which commands require a password\r\n- which host you can run sudo on\r\n\r\nIf you don't specify users, it defaults to ALL.\r\nIf you don't specify a host, it defaults to ALL.\r\nIf you don't specify any commands, it defaults to ALL.\r\nIf you don't specify nopassword, it defaults to PASSWD.\r\n\r\nIf you are no longer maintaining this playbook, let me know I'll just fork it.\r\n\r\nCheers!\r\n","created_at":"2015-06-14T02:27:40Z","updated_at":"2015-06-14T02:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db34d272016153161570928875adbbca934c5d13","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5/commits","review_comments_url":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5/comments","review_comment_url":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/knopki/ansible-sudoers/issues/5/comments","statuses_url":"https://api.github.com/repos/knopki/ansible-sudoers/statuses/dcf8958d92f00774e52477699a5c16e938e53814","head":{"label":"mchlumsky:fine_grained_access","ref":"fine_grained_access","sha":"dcf8958d92f00774e52477699a5c16e938e53814","user":{"login":"mchlumsky","id":6088545,"avatar_url":"https://avatars.githubusercontent.com/u/6088545?v=3","gravatar_id":"","url":"https://api.github.com/users/mchlumsky","html_url":"https://github.com/mchlumsky","followers_url":"https://api.github.com/users/mchlumsky/followers","following_url":"https://api.github.com/users/mchlumsky/following{/other_user}","gists_url":"https://api.github.com/users/mchlumsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mchlumsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchlumsky/subscriptions","organizations_url":"https://api.github.com/users/mchlumsky/orgs","repos_url":"https://api.github.com/users/mchlumsky/repos","events_url":"https://api.github.com/users/mchlumsky/events{/privacy}","received_events_url":"https://api.github.com/users/mchlumsky/received_events","type":"User","site_admin":false},"repo":{"id":37395556,"name":"ansible-sudoers","full_name":"mchlumsky/ansible-sudoers","owner":{"login":"mchlumsky","id":6088545,"avatar_url":"https://avatars.githubusercontent.com/u/6088545?v=3","gravatar_id":"","url":"https://api.github.com/users/mchlumsky","html_url":"https://github.com/mchlumsky","followers_url":"https://api.github.com/users/mchlumsky/followers","following_url":"https://api.github.com/users/mchlumsky/following{/other_user}","gists_url":"https://api.github.com/users/mchlumsky/gists{/gist_id}","starred_url":"https://api.github.com/users/mchlumsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mchlumsky/subscriptions","organizations_url":"https://api.github.com/users/mchlumsky/orgs","repos_url":"https://api.github.com/users/mchlumsky/repos","events_url":"https://api.github.com/users/mchlumsky/events{/privacy}","received_events_url":"https://api.github.com/users/mchlumsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mchlumsky/ansible-sudoers","description":"Simple sudoers role for Ansible","fork":true,"url":"https://api.github.com/repos/mchlumsky/ansible-sudoers","forks_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/forks","keys_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/teams","hooks_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/hooks","issue_events_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/issues/events{/number}","events_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/events","assignees_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/assignees{/user}","branches_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/branches{/branch}","tags_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/tags","blobs_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/git/refs{/sha}","trees_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/statuses/{sha}","languages_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/languages","stargazers_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/stargazers","contributors_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/contributors","subscribers_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/subscribers","subscription_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/subscription","commits_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/commits{/sha}","git_commits_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/git/commits{/sha}","comments_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/comments{/number}","issue_comment_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/issues/comments{/number}","contents_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/contents/{+path}","compare_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/merges","archive_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/downloads","issues_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/issues{/number}","pulls_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/pulls{/number}","milestones_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/milestones{/number}","notifications_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/labels{/name}","releases_url":"https://api.github.com/repos/mchlumsky/ansible-sudoers/releases{/id}","created_at":"2015-06-14T02:09:13Z","updated_at":"2015-06-05T09:53:13Z","pushed_at":"2015-06-14T02:17:47Z","git_url":"git://github.com/mchlumsky/ansible-sudoers.git","ssh_url":"git@github.com:mchlumsky/ansible-sudoers.git","clone_url":"https://github.com/mchlumsky/ansible-sudoers.git","svn_url":"https://github.com/mchlumsky/ansible-sudoers","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":null,"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":"knopki:master","ref":"master","sha":"6c7b5084870f5ed5a493b145e8c24c26019a14b8","user":{"login":"knopki","id":891832,"avatar_url":"https://avatars.githubusercontent.com/u/891832?v=3","gravatar_id":"","url":"https://api.github.com/users/knopki","html_url":"https://github.com/knopki","followers_url":"https://api.github.com/users/knopki/followers","following_url":"https://api.github.com/users/knopki/following{/other_user}","gists_url":"https://api.github.com/users/knopki/gists{/gist_id}","starred_url":"https://api.github.com/users/knopki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knopki/subscriptions","organizations_url":"https://api.github.com/users/knopki/orgs","repos_url":"https://api.github.com/users/knopki/repos","events_url":"https://api.github.com/users/knopki/events{/privacy}","received_events_url":"https://api.github.com/users/knopki/received_events","type":"User","site_admin":false},"repo":{"id":16540843,"name":"ansible-sudoers","full_name":"knopki/ansible-sudoers","owner":{"login":"knopki","id":891832,"avatar_url":"https://avatars.githubusercontent.com/u/891832?v=3","gravatar_id":"","url":"https://api.github.com/users/knopki","html_url":"https://github.com/knopki","followers_url":"https://api.github.com/users/knopki/followers","following_url":"https://api.github.com/users/knopki/following{/other_user}","gists_url":"https://api.github.com/users/knopki/gists{/gist_id}","starred_url":"https://api.github.com/users/knopki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knopki/subscriptions","organizations_url":"https://api.github.com/users/knopki/orgs","repos_url":"https://api.github.com/users/knopki/repos","events_url":"https://api.github.com/users/knopki/events{/privacy}","received_events_url":"https://api.github.com/users/knopki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knopki/ansible-sudoers","description":"Simple sudoers role for Ansible","fork":false,"url":"https://api.github.com/repos/knopki/ansible-sudoers","forks_url":"https://api.github.com/repos/knopki/ansible-sudoers/forks","keys_url":"https://api.github.com/repos/knopki/ansible-sudoers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knopki/ansible-sudoers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knopki/ansible-sudoers/teams","hooks_url":"https://api.github.com/repos/knopki/ansible-sudoers/hooks","issue_events_url":"https://api.github.com/repos/knopki/ansible-sudoers/issues/events{/number}","events_url":"https://api.github.com/repos/knopki/ansible-sudoers/events","assignees_url":"https://api.github.com/repos/knopki/ansible-sudoers/assignees{/user}","branches_url":"https://api.github.com/repos/knopki/ansible-sudoers/branches{/branch}","tags_url":"https://api.github.com/repos/knopki/ansible-sudoers/tags","blobs_url":"https://api.github.com/repos/knopki/ansible-sudoers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knopki/ansible-sudoers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knopki/ansible-sudoers/git/refs{/sha}","trees_url":"https://api.github.com/repos/knopki/ansible-sudoers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knopki/ansible-sudoers/statuses/{sha}","languages_url":"https://api.github.com/repos/knopki/ansible-sudoers/languages","stargazers_url":"https://api.github.com/repos/knopki/ansible-sudoers/stargazers","contributors_url":"https://api.github.com/repos/knopki/ansible-sudoers/contributors","subscribers_url":"https://api.github.com/repos/knopki/ansible-sudoers/subscribers","subscription_url":"https://api.github.com/repos/knopki/ansible-sudoers/subscription","commits_url":"https://api.github.com/repos/knopki/ansible-sudoers/commits{/sha}","git_commits_url":"https://api.github.com/repos/knopki/ansible-sudoers/git/commits{/sha}","comments_url":"https://api.github.com/repos/knopki/ansible-sudoers/comments{/number}","issue_comment_url":"https://api.github.com/repos/knopki/ansible-sudoers/issues/comments{/number}","contents_url":"https://api.github.com/repos/knopki/ansible-sudoers/contents/{+path}","compare_url":"https://api.github.com/repos/knopki/ansible-sudoers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knopki/ansible-sudoers/merges","archive_url":"https://api.github.com/repos/knopki/ansible-sudoers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knopki/ansible-sudoers/downloads","issues_url":"https://api.github.com/repos/knopki/ansible-sudoers/issues{/number}","pulls_url":"https://api.github.com/repos/knopki/ansible-sudoers/pulls{/number}","milestones_url":"https://api.github.com/repos/knopki/ansible-sudoers/milestones{/number}","notifications_url":"https://api.github.com/repos/knopki/ansible-sudoers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knopki/ansible-sudoers/labels{/name}","releases_url":"https://api.github.com/repos/knopki/ansible-sudoers/releases{/id}","created_at":"2014-02-05T09:53:12Z","updated_at":"2015-06-05T09:53:13Z","pushed_at":"2015-06-14T02:27:40Z","git_url":"git://github.com/knopki/ansible-sudoers.git","ssh_url":"git@github.com:knopki/ansible-sudoers.git","clone_url":"https://github.com/knopki/ansible-sudoers.git","svn_url":"https://github.com/knopki/ansible-sudoers","homepage":null,"size":167,"stargazers_count":6,"watchers_count":6,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5"},"html":{"href":"https://github.com/knopki/ansible-sudoers/pull/5"},"issue":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/issues/5"},"comments":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/knopki/ansible-sudoers/statuses/dcf8958d92f00774e52477699a5c16e938e53814"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":32,"changed_files":4}}