{"action":"closed","number":15054,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/15054","id":63494100,"html_url":"https://github.com/ansible/ansible/pull/15054","diff_url":"https://github.com/ansible/ansible/pull/15054.diff","patch_url":"https://github.com/ansible/ansible/pull/15054.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/15054","number":15054,"state":"closed","locked":false,"title":"Add shared functionality to return list of security group IDs from list of names","user":{"login":"wimnat","id":7425606,"avatar_url":"https://avatars.githubusercontent.com/u/7425606?v=3","gravatar_id":"","url":"https://api.github.com/users/wimnat","html_url":"https://github.com/wimnat","followers_url":"https://api.github.com/users/wimnat/followers","following_url":"https://api.github.com/users/wimnat/following{/other_user}","gists_url":"https://api.github.com/users/wimnat/gists{/gist_id}","starred_url":"https://api.github.com/users/wimnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimnat/subscriptions","organizations_url":"https://api.github.com/users/wimnat/orgs","repos_url":"https://api.github.com/users/wimnat/repos","events_url":"https://api.github.com/users/wimnat/events{/privacy}","received_events_url":"https://api.github.com/users/wimnat/received_events","type":"User","site_admin":false},"body":"##### Issue Type:\r\n\r\n<!--- Please pick one and delete the rest: -->\r\n - Feature Pull Request\r\n\r\n##### Ansible Version:\r\n\r\n2.1.0\r\n\r\n##### Summary:\r\n\r\nThis change adds code to return a list of security group IDs when passed a list of names or combination list of names and IDs.\r\n\r\nThis functionality is already duplicated across some ec2 modules and has been requested in others (see https://github.com/ansible/ansible-modules-extras/pull/953).  Rather than continue to duplicate this code, I have added to ec2 utils.","created_at":"2016-03-20T12:25:26Z","updated_at":"2016-04-26T13:17:36Z","closed_at":"2016-04-26T13:17:36Z","merged_at":"2016-04-26T13:17:36Z","merge_commit_sha":"bc859eec7e5a0446d7ea103dbbae1820334fb388","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/15054/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/15054/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/15054/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/230734b9662f6669ba07808b2be0526f30761d13","head":{"label":"wimnat:feature/ec2_mod_utils_sec_group_names","ref":"feature/ec2_mod_utils_sec_group_names","sha":"230734b9662f6669ba07808b2be0526f30761d13","user":{"login":"wimnat","id":7425606,"avatar_url":"https://avatars.githubusercontent.com/u/7425606?v=3","gravatar_id":"","url":"https://api.github.com/users/wimnat","html_url":"https://github.com/wimnat","followers_url":"https://api.github.com/users/wimnat/followers","following_url":"https://api.github.com/users/wimnat/following{/other_user}","gists_url":"https://api.github.com/users/wimnat/gists{/gist_id}","starred_url":"https://api.github.com/users/wimnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimnat/subscriptions","organizations_url":"https://api.github.com/users/wimnat/orgs","repos_url":"https://api.github.com/users/wimnat/repos","events_url":"https://api.github.com/users/wimnat/events{/privacy}","received_events_url":"https://api.github.com/users/wimnat/received_events","type":"User","site_admin":false},"repo":{"id":43851542,"name":"ansible","full_name":"wimnat/ansible","owner":{"login":"wimnat","id":7425606,"avatar_url":"https://avatars.githubusercontent.com/u/7425606?v=3","gravatar_id":"","url":"https://api.github.com/users/wimnat","html_url":"https://github.com/wimnat","followers_url":"https://api.github.com/users/wimnat/followers","following_url":"https://api.github.com/users/wimnat/following{/other_user}","gists_url":"https://api.github.com/users/wimnat/gists{/gist_id}","starred_url":"https://api.github.com/users/wimnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimnat/subscriptions","organizations_url":"https://api.github.com/users/wimnat/orgs","repos_url":"https://api.github.com/users/wimnat/repos","events_url":"https://api.github.com/users/wimnat/events{/privacy}","received_events_url":"https://api.github.com/users/wimnat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wimnat/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/wimnat/ansible","forks_url":"https://api.github.com/repos/wimnat/ansible/forks","keys_url":"https://api.github.com/repos/wimnat/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wimnat/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wimnat/ansible/teams","hooks_url":"https://api.github.com/repos/wimnat/ansible/hooks","issue_events_url":"https://api.github.com/repos/wimnat/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/wimnat/ansible/events","assignees_url":"https://api.github.com/repos/wimnat/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/wimnat/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/wimnat/ansible/tags","blobs_url":"https://api.github.com/repos/wimnat/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wimnat/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wimnat/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/wimnat/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wimnat/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/wimnat/ansible/languages","stargazers_url":"https://api.github.com/repos/wimnat/ansible/stargazers","contributors_url":"https://api.github.com/repos/wimnat/ansible/contributors","subscribers_url":"https://api.github.com/repos/wimnat/ansible/subscribers","subscription_url":"https://api.github.com/repos/wimnat/ansible/subscription","commits_url":"https://api.github.com/repos/wimnat/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/wimnat/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/wimnat/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/wimnat/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/wimnat/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/wimnat/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wimnat/ansible/merges","archive_url":"https://api.github.com/repos/wimnat/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wimnat/ansible/downloads","issues_url":"https://api.github.com/repos/wimnat/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/wimnat/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/wimnat/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/wimnat/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wimnat/ansible/labels{/name}","releases_url":"https://api.github.com/repos/wimnat/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/wimnat/ansible/deployments","created_at":"2015-10-07T23:53:52Z","updated_at":"2016-03-20T12:17:41Z","pushed_at":"2016-04-26T11:24:21Z","git_url":"git://github.com/wimnat/ansible.git","ssh_url":"git@github.com:wimnat/ansible.git","clone_url":"https://github.com/wimnat/ansible.git","svn_url":"https://github.com/wimnat/ansible","homepage":"http://ansible.com/","size":34180,"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":"73c3f35112daea0320294ada5da7f8e316fcbda3","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-04-26T13:03:02Z","pushed_at":"2016-04-26T13:17:36Z","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":60084,"stargazers_count":16481,"watchers_count":16481,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4925,"mirror_url":null,"open_issues_count":1319,"forks":4925,"open_issues":1319,"watchers":16481,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15054"},"html":{"href":"https://github.com/ansible/ansible/pull/15054"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/15054"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/15054/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15054/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15054/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/230734b9662f6669ba07808b2be0526f30761d13"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"defionscode","id":4664162,"avatar_url":"https://avatars.githubusercontent.com/u/4664162?v=3","gravatar_id":"","url":"https://api.github.com/users/defionscode","html_url":"https://github.com/defionscode","followers_url":"https://api.github.com/users/defionscode/followers","following_url":"https://api.github.com/users/defionscode/following{/other_user}","gists_url":"https://api.github.com/users/defionscode/gists{/gist_id}","starred_url":"https://api.github.com/users/defionscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defionscode/subscriptions","organizations_url":"https://api.github.com/users/defionscode/orgs","repos_url":"https://api.github.com/users/defionscode/repos","events_url":"https://api.github.com/users/defionscode/events{/privacy}","received_events_url":"https://api.github.com/users/defionscode/received_events","type":"User","site_admin":false},"comments":27,"review_comments":0,"commits":2,"additions":67,"deletions":0,"changed_files":1}}