{"action":"closed","number":1878,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1878","id":63500371,"html_url":"https://github.com/ansible/ansible-modules-extras/pull/1878","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/1878.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/1878.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1878","number":1878,"state":"closed","locked":false,"title":"Allow vm_facts to be restricted to a given folder or cluster in a dat…","user":{"login":"ritzk","id":7668569,"avatar_url":"https://avatars0.githubusercontent.com/u/7668569?v=3","gravatar_id":"","url":"https://api.github.com/users/ritzk","html_url":"https://github.com/ritzk","followers_url":"https://api.github.com/users/ritzk/followers","following_url":"https://api.github.com/users/ritzk/following{/other_user}","gists_url":"https://api.github.com/users/ritzk/gists{/gist_id}","starred_url":"https://api.github.com/users/ritzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritzk/subscriptions","organizations_url":"https://api.github.com/users/ritzk/orgs","repos_url":"https://api.github.com/users/ritzk/repos","events_url":"https://api.github.com/users/ritzk/events{/privacy}","received_events_url":"https://api.github.com/users/ritzk/received_events","type":"User","site_admin":false},"body":"##### Issue Type:\n- Feature Pull Request\n##### Plugin Name:\n\ncloud/vmware/vmware_vm_facts.py\n##### Summary:\n\nAllows us to restrict vm_facts listing to a particular datacenter ( cluster or folder )\nListing facts for all the VMs is a very slow process, and often not needed.\n\nblocked_by: https://github.com/ansible/ansible/pull/15053\n##### Example:\n\n```\n---  \n    - name: Gather all registered virtual machines\n      local_action:\n        module: vmware_vm_facts\n        hostname: \"{{ vmware_exsi_server }}\"\n        username: \"{{ user_name }}\"\n        validate_certs: false\n        datacenter: \"{{ datacenter }}\"\n      register: vm_list\n\n    - debug: msg=\"{{ vm_list }}\"\n\n```\n\n…\n","created_at":"2016-03-20T16:44:19Z","updated_at":"2017-04-11T23:10:59Z","closed_at":"2017-04-11T23:10:59Z","merged_at":null,"merge_commit_sha":"d9981d0569b2ad1dd793f492f98840b1725826ea","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1878/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1878/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/1878/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/d017753612869782077a8ba41c7aebebb99406c3","head":{"label":"ritzk:getallvms","ref":"getallvms","sha":"d017753612869782077a8ba41c7aebebb99406c3","user":{"login":"ritzk","id":7668569,"avatar_url":"https://avatars0.githubusercontent.com/u/7668569?v=3","gravatar_id":"","url":"https://api.github.com/users/ritzk","html_url":"https://github.com/ritzk","followers_url":"https://api.github.com/users/ritzk/followers","following_url":"https://api.github.com/users/ritzk/following{/other_user}","gists_url":"https://api.github.com/users/ritzk/gists{/gist_id}","starred_url":"https://api.github.com/users/ritzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritzk/subscriptions","organizations_url":"https://api.github.com/users/ritzk/orgs","repos_url":"https://api.github.com/users/ritzk/repos","events_url":"https://api.github.com/users/ritzk/events{/privacy}","received_events_url":"https://api.github.com/users/ritzk/received_events","type":"User","site_admin":false},"repo":{"id":42862448,"name":"ansible-modules-extras","full_name":"ritzk/ansible-modules-extras","owner":{"login":"ritzk","id":7668569,"avatar_url":"https://avatars0.githubusercontent.com/u/7668569?v=3","gravatar_id":"","url":"https://api.github.com/users/ritzk","html_url":"https://github.com/ritzk","followers_url":"https://api.github.com/users/ritzk/followers","following_url":"https://api.github.com/users/ritzk/following{/other_user}","gists_url":"https://api.github.com/users/ritzk/gists{/gist_id}","starred_url":"https://api.github.com/users/ritzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritzk/subscriptions","organizations_url":"https://api.github.com/users/ritzk/orgs","repos_url":"https://api.github.com/users/ritzk/repos","events_url":"https://api.github.com/users/ritzk/events{/privacy}","received_events_url":"https://api.github.com/users/ritzk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ritzk/ansible-modules-extras","description":"Ansible extra modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/ritzk/ansible-modules-extras","forks_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/forks","keys_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/teams","hooks_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/hooks","issue_events_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/issues/events{/number}","events_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/events","assignees_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/assignees{/user}","branches_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/branches{/branch}","tags_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/tags","blobs_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/statuses/{sha}","languages_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/languages","stargazers_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/stargazers","contributors_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/contributors","subscribers_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/subscribers","subscription_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/subscription","commits_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/contents/{+path}","compare_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/merges","archive_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/downloads","issues_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/issues{/number}","pulls_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/pulls{/number}","milestones_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/milestones{/number}","notifications_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/labels{/name}","releases_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/releases{/id}","deployments_url":"https://api.github.com/repos/ritzk/ansible-modules-extras/deployments","created_at":"2015-09-21T11:34:06Z","updated_at":"2016-03-22T14:01:05Z","pushed_at":"2016-06-06T09:38:32Z","git_url":"git://github.com/ritzk/ansible-modules-extras.git","ssh_url":"git@github.com:ritzk/ansible-modules-extras.git","clone_url":"https://github.com/ritzk/ansible-modules-extras.git","svn_url":"https://github.com/ritzk/ansible-modules-extras","homepage":"","size":7333,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"cd0b7c93ef32f748e082118b26baa56b0f6cf76a","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars1.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://avatars1.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":"2017-04-11T05:32:11Z","pushed_at":"2017-04-10T12:32:02Z","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":10106,"stargazers_count":845,"watchers_count":845,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1680,"mirror_url":null,"open_issues_count":336,"forks":1680,"open_issues":336,"watchers":845,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1878"},"html":{"href":"https://github.com/ansible/ansible-modules-extras/pull/1878"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1878"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/1878/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/1878/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/1878/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-extras/statuses/d017753612869782077a8ba41c7aebebb99406c3"}},"merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":12,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":118,"deletions":21,"changed_files":1}}
{"actor":{"display_login":"ansibot"}}