{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/72087863","id":72087863,"diff_hunk":"@@ -0,0 +1,261 @@\n+#!/usr/bin/python\n+#\n+# This is a free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This Ansible library is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with this library.  If not, see <http://www.gnu.org/licenses/>.\n+\n+DOCUMENTATION = '''\n+---\n+module: ec2_group_facts\n+short_description: Gather facts about security groups in AWS\n+description:\n+    - Gather facts about security groups in AWS\n+version_added: \"2.2\"\n+author: \"Destry Jaimes (@calamityman)\"\n+options:\n+  filters:\n+    description:\n+      - A dict of filters to apply. Each dict item consists of a filter key and a filter value. See U(http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) for possible filters.","path":"cloud/amazon/ec2_group_facts.py","position":27,"original_position":27,"commit_id":"cd1ad6e648e3ecc9f48178a19f7cf12b235036cf","original_commit_id":"cd1ad6e648e3ecc9f48178a19f7cf12b235036cf","user":{"login":"Sodki","id":4172609,"avatar_url":"https://avatars.githubusercontent.com/u/4172609?v=3","gravatar_id":"","url":"https://api.github.com/users/Sodki","html_url":"https://github.com/Sodki","followers_url":"https://api.github.com/users/Sodki/followers","following_url":"https://api.github.com/users/Sodki/following{/other_user}","gists_url":"https://api.github.com/users/Sodki/gists{/gist_id}","starred_url":"https://api.github.com/users/Sodki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sodki/subscriptions","organizations_url":"https://api.github.com/users/Sodki/orgs","repos_url":"https://api.github.com/users/Sodki/repos","events_url":"https://api.github.com/users/Sodki/events{/privacy}","received_events_url":"https://api.github.com/users/Sodki/received_events","type":"User","site_admin":false},"body":"I would just add this at the end:\r\n\r\n`Filter names and values are case sensitive.`","created_at":"2016-07-25T15:39:08Z","updated_at":"2016-07-25T15:39:08Z","html_url":"https://github.com/ansible/ansible-modules-extras/pull/1908#discussion_r72087863","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments/72087863"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/1908#discussion_r72087863"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908","id":64107707,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/1908","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1908.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1908.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1908","number":1908,"state":"open","locked":false,"title":"New security group facts module","user":{"login":"calamityman","id":17598423,"avatar_url":"https://avatars.githubusercontent.com/u/17598423?v=3","gravatar_id":"","url":"https://api.github.com/users/calamityman","html_url":"https://github.com/calamityman","followers_url":"https://api.github.com/users/calamityman/followers","following_url":"https://api.github.com/users/calamityman/following{/other_user}","gists_url":"https://api.github.com/users/calamityman/gists{/gist_id}","starred_url":"https://api.github.com/users/calamityman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calamityman/subscriptions","organizations_url":"https://api.github.com/users/calamityman/orgs","repos_url":"https://api.github.com/users/calamityman/repos","events_url":"https://api.github.com/users/calamityman/events{/privacy}","received_events_url":"https://api.github.com/users/calamityman/received_events","type":"User","site_admin":false},"body":"##### ISSUE TYPE\r\n - New Module Pull Request\r\n \r\n##### COMPONENT NAME\r\nec2_group_facts\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.1.0 (devel 92f29746d9) last updated 2016/03/24 16:10:14 (GMT -500)\r\n  lib/ansible/modules/core: (detached HEAD 7efc09ef08) last updated 2016/03/23 15:15:03 (GMT -500)\r\n  lib/ansible/modules/extras: (detached HEAD 7f9cdc0350) last updated 2016/03/23 15:15:04 (GMT -500)\r\n  config file = /Users/djaimes/.ansible.cfg\r\n  configured module search path = /usr/share/ansible:~/working/git/ansible-modules-extras\r\n```\r\n\r\n##### SUMMARY\r\n\r\nI needed a way to gather security group information for use in various roles and playbooks.\r\nFollowing other AWS *facts modules as examples, this module simply gathers facts about security groups in AWS. Results can be optionally filtered to narrow results.","created_at":"2016-03-24T22:20:10Z","updated_at":"2016-07-25T15:39:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e469cb4576cf0758b847b985d5c372bf8f59278","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1908/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/cd1ad6e648e3ecc9f48178a19f7cf12b235036cf","head":{"label":"calamityman:devel","ref":"devel","sha":"cd1ad6e648e3ecc9f48178a19f7cf12b235036cf","user":{"login":"calamityman","id":17598423,"avatar_url":"https://avatars.githubusercontent.com/u/17598423?v=3","gravatar_id":"","url":"https://api.github.com/users/calamityman","html_url":"https://github.com/calamityman","followers_url":"https://api.github.com/users/calamityman/followers","following_url":"https://api.github.com/users/calamityman/following{/other_user}","gists_url":"https://api.github.com/users/calamityman/gists{/gist_id}","starred_url":"https://api.github.com/users/calamityman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calamityman/subscriptions","organizations_url":"https://api.github.com/users/calamityman/orgs","repos_url":"https://api.github.com/users/calamityman/repos","events_url":"https://api.github.com/users/calamityman/events{/privacy}","received_events_url":"https://api.github.com/users/calamityman/received_events","type":"User","site_admin":false},"repo":{"id":54650698,"name":"ansible-modules-extras","full_name":"calamityman/ansible-modules-extras","owner":{"login":"calamityman","id":17598423,"avatar_url":"https://avatars.githubusercontent.com/u/17598423?v=3","gravatar_id":"","url":"https://api.github.com/users/calamityman","html_url":"https://github.com/calamityman","followers_url":"https://api.github.com/users/calamityman/followers","following_url":"https://api.github.com/users/calamityman/following{/other_user}","gists_url":"https://api.github.com/users/calamityman/gists{/gist_id}","starred_url":"https://api.github.com/users/calamityman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calamityman/subscriptions","organizations_url":"https://api.github.com/users/calamityman/orgs","repos_url":"https://api.github.com/users/calamityman/repos","events_url":"https://api.github.com/users/calamityman/events{/privacy}","received_events_url":"https://api.github.com/users/calamityman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/calamityman/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/calamityman/ansible-modules-extras","forks_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/releases{/id}","deployments_url":"https://api.github.com/repos/calamityman/ansible-modules-extras/deployments","created_at":"2016-03-24T15:02:03Z","updated_at":"2016-03-24T15:02:06Z","pushed_at":"2016-07-06T19:16:19Z","git_url":"git://github.com/calamityman/ansible-modules-extras.git","ssh_url":"git@github.com:calamityman/ansible-modules-extras.git","clone_url":"https://github.com/calamityman/ansible-modules-extras.git","svn_url":"https://github.com/calamityman/ansible-modules-extras","homepage":"","size":7434,"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":"0f01acd6c4ddadb912016b1cc4a1d53d5aa66885","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":24474138,"name":"ansible-modules-extras","full_name":"ansible/ansible-modules-extras","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-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-extras","forks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-extras/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/deployments","created_at":"2014-09-25T20:28:42Z","updated_at":"2016-07-25T07:32:08Z","pushed_at":"2016-07-25T15:08:53Z","git_url":"git://github.com/ansible/ansible-modules-extras.git","ssh_url":"git@github.com:ansible/ansible-modules-extras.git","clone_url":"https://github.com/ansible/ansible-modules-extras.git","svn_url":"https://github.com/ansible/ansible-modules-extras","homepage":"","size":46689,"stargazers_count":649,"watchers_count":649,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1344,"mirror_url":null,"open_issues_count":658,"forks":1344,"open_issues":658,"watchers":649,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/1908"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1908"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1908/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1908/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/cd1ad6e648e3ecc9f48178a19f7cf12b235036cf"}}}}
{"actor":{"display_login":"Sodki"}}