{"action":"closed","number":19464,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/19464","id":98441360,"html_url":"https://github.com/ansible/ansible/pull/19464","diff_url":"https://github.com/ansible/ansible/pull/19464.diff","patch_url":"https://github.com/ansible/ansible/pull/19464.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/19464","number":19464,"state":"closed","locked":false,"title":"user: make system=yes work on Darwin systems.","user":{"login":"rqelibari","id":4114918,"avatar_url":"https://avatars.githubusercontent.com/u/4114918?v=3","gravatar_id":"","url":"https://api.github.com/users/rqelibari","html_url":"https://github.com/rqelibari","followers_url":"https://api.github.com/users/rqelibari/followers","following_url":"https://api.github.com/users/rqelibari/following{/other_user}","gists_url":"https://api.github.com/users/rqelibari/gists{/gist_id}","starred_url":"https://api.github.com/users/rqelibari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rqelibari/subscriptions","organizations_url":"https://api.github.com/users/rqelibari/orgs","repos_url":"https://api.github.com/users/rqelibari/repos","events_url":"https://api.github.com/users/rqelibari/events{/privacy}","received_events_url":"https://api.github.com/users/rqelibari/received_events","type":"User","site_admin":false},"body":"##### ISSUE TYPE\r\n - Feature Pull Request\r\n\r\n##### COMPONENT NAME\r\nsystem/user.py module\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0 (devel 4981feee99) last updated 2016/11/15 14:27:13 (GMT +200)\r\n  lib/ansible/modules/core: (detached HEAD a4cddac368) last updated 2016/11/15 14:29:56 (GMT +200)\r\n  lib/ansible/modules/extras: (detached HEAD 19c7d5b31b) last updated 2016/11/15 14:28:34 (GMT +200)\r\n  config file = \r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### SUMMARY\r\nExtend user module for Darwin operating systems such that the `system` option of the user module now generates a system uid (< 500) if possible. If all system uids are taken, normal uid will be generated.\r\n\r\nExtend `_get_next_uid` method of `DarwinUser` class  to take an extra argument `system` so the method knows, that the user wants a system uid. Change logic to prefer next free id below of 500.\r\n\r\nCommit message: Add ability to add real system users with next free system uid (< 500) on macOS.","created_at":"2016-12-17T11:20:49Z","updated_at":"2016-12-19T21:35:57Z","closed_at":"2016-12-19T21:35:57Z","merged_at":"2016-12-19T21:35:57Z","merge_commit_sha":"507b96ff3031d5d5ee3ec36c7c0e2f00b674ab76","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/19464/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/19464/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/19464/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/35956caed3a649a3ad799071cbf3951a0b90ccb3","head":{"label":"rqelibari:ansible-modules-core/pull/5618","ref":"ansible-modules-core/pull/5618","sha":"35956caed3a649a3ad799071cbf3951a0b90ccb3","user":{"login":"rqelibari","id":4114918,"avatar_url":"https://avatars.githubusercontent.com/u/4114918?v=3","gravatar_id":"","url":"https://api.github.com/users/rqelibari","html_url":"https://github.com/rqelibari","followers_url":"https://api.github.com/users/rqelibari/followers","following_url":"https://api.github.com/users/rqelibari/following{/other_user}","gists_url":"https://api.github.com/users/rqelibari/gists{/gist_id}","starred_url":"https://api.github.com/users/rqelibari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rqelibari/subscriptions","organizations_url":"https://api.github.com/users/rqelibari/orgs","repos_url":"https://api.github.com/users/rqelibari/repos","events_url":"https://api.github.com/users/rqelibari/events{/privacy}","received_events_url":"https://api.github.com/users/rqelibari/received_events","type":"User","site_admin":false},"repo":{"id":76719924,"name":"ansible","full_name":"rqelibari/ansible","owner":{"login":"rqelibari","id":4114918,"avatar_url":"https://avatars.githubusercontent.com/u/4114918?v=3","gravatar_id":"","url":"https://api.github.com/users/rqelibari","html_url":"https://github.com/rqelibari","followers_url":"https://api.github.com/users/rqelibari/followers","following_url":"https://api.github.com/users/rqelibari/following{/other_user}","gists_url":"https://api.github.com/users/rqelibari/gists{/gist_id}","starred_url":"https://api.github.com/users/rqelibari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rqelibari/subscriptions","organizations_url":"https://api.github.com/users/rqelibari/orgs","repos_url":"https://api.github.com/users/rqelibari/repos","events_url":"https://api.github.com/users/rqelibari/events{/privacy}","received_events_url":"https://api.github.com/users/rqelibari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rqelibari/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/rqelibari/ansible","forks_url":"https://api.github.com/repos/rqelibari/ansible/forks","keys_url":"https://api.github.com/repos/rqelibari/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rqelibari/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rqelibari/ansible/teams","hooks_url":"https://api.github.com/repos/rqelibari/ansible/hooks","issue_events_url":"https://api.github.com/repos/rqelibari/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/rqelibari/ansible/events","assignees_url":"https://api.github.com/repos/rqelibari/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/rqelibari/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/rqelibari/ansible/tags","blobs_url":"https://api.github.com/repos/rqelibari/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rqelibari/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rqelibari/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/rqelibari/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rqelibari/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/rqelibari/ansible/languages","stargazers_url":"https://api.github.com/repos/rqelibari/ansible/stargazers","contributors_url":"https://api.github.com/repos/rqelibari/ansible/contributors","subscribers_url":"https://api.github.com/repos/rqelibari/ansible/subscribers","subscription_url":"https://api.github.com/repos/rqelibari/ansible/subscription","commits_url":"https://api.github.com/repos/rqelibari/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/rqelibari/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/rqelibari/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/rqelibari/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/rqelibari/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/rqelibari/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rqelibari/ansible/merges","archive_url":"https://api.github.com/repos/rqelibari/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rqelibari/ansible/downloads","issues_url":"https://api.github.com/repos/rqelibari/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/rqelibari/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/rqelibari/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/rqelibari/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rqelibari/ansible/labels{/name}","releases_url":"https://api.github.com/repos/rqelibari/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/rqelibari/ansible/deployments","created_at":"2016-12-17T11:19:28Z","updated_at":"2016-12-17T11:19:43Z","pushed_at":"2016-12-19T15:58:15Z","git_url":"git://github.com/rqelibari/ansible.git","ssh_url":"git@github.com:rqelibari/ansible.git","clone_url":"https://github.com/rqelibari/ansible.git","svn_url":"https://github.com/rqelibari/ansible","homepage":"http://ansible.com/","size":62005,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"48dee1b6d010143e72c35aba911c0d5fc4d647e5","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2016-12-19T19:28:55Z","pushed_at":"2016-12-19T21:35:57Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":62132,"stargazers_count":20309,"watchers_count":20309,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6353,"mirror_url":null,"open_issues_count":2003,"forks":6353,"open_issues":2003,"watchers":20309,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/19464"},"html":{"href":"https://github.com/ansible/ansible/pull/19464"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/19464"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/19464/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/19464/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/19464/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/35956caed3a649a3ad799071cbf3951a0b90ccb3"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"commits":3,"additions":16,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"bcoca"}}