{"id":15652704,"url":"https://github.com/akasurde/ansible-vmware-http","last_synced_at":"2025-04-30T17:20:50.102Z","repository":{"id":99812204,"uuid":"153398259","full_name":"Akasurde/ansible-vmware-http","owner":"Akasurde","description":"Examples of Ansible playbook to manage VMware using HTTP APIs","archived":false,"fork":false,"pushed_at":"2018-10-17T15:15:19.000Z","size":26,"stargazers_count":40,"open_issues_count":0,"forks_count":32,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-19T07:47:04.128Z","etag":null,"topics":["ansible","ansible-playbook","automation","esxi","esxi-server","http-api","vmware","vsphere"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akasurde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-17T05:05:07.000Z","updated_at":"2024-05-20T12:39:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba568682-d461-4658-be39-961d0eb0834f","html_url":"https://github.com/Akasurde/ansible-vmware-http","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akasurde%2Fansible-vmware-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akasurde%2Fansible-vmware-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akasurde%2Fansible-vmware-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akasurde%2Fansible-vmware-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akasurde","download_url":"https://codeload.github.com/Akasurde/ansible-vmware-http/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251749103,"owners_count":21637455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-playbook","automation","esxi","esxi-server","http-api","vmware","vsphere"],"created_at":"2024-10-03T12:43:25.940Z","updated_at":"2025-04-30T17:20:50.078Z","avatar_url":"https://github.com/Akasurde.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible VMware Sample Playbooks for handling HTTP APIs\n\n\nFollowing repos show how Ansible can be utilized to consume VMware HTTP APIs.\n\nRequirements\n------------\n\nVMware HTTP APIs are supported in vCenter 6.5 and onwards. So, in order to use these playbooks you need to have vCenter version greater than equal to 6.5.\n\nIf you are going to use [Pyvmomi](https://github.com/vmware/pyvmomi) based (XMLRPC based) [modules](https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#vmware) then you need to install ``Pyvmomi`` using ``pip install pyvmomi``.\n\n\nExamples\n--------\n\nExample Ansible playbook to manage VMware using HTTP APIs:\n\n- [Get a list of all Datacenters available](../master/get_all_datacenters.yml)\n- [Get a list of all Clusters available](../master/get_all_clusters.yml)\n- [Get a list of all ESXi hosts available](../master/get_all_hosts.yml)\n- [Get a list of all Datastores available](../master/get_all_datastores.yml)\n- [Get a list of all Network available](../master/get_all_networks.yml)\n- [Get a list of all Virtual machine available](../master/get_all_vms.yml)\n- [Get a list of all categories available](../master/get_all_categories.yml)\n- [Get a list of all tags available](../master/get_all_tags.yml)\n- [Get information about the given Cluster](../master/get_cluster_info.yml)\n- [Get a list of tags attached to the given virtual machine](../master/get_all_tags_from_virtual_machine.yml)\n\n\nCaveats\n-------\n\nCurrently, these APIs are under development so not all features are available in vCenter server as a part of API.\n\n\nLinks\n-----\n\n[Ansible VMware Documentation](https://docs.ansible.com/ansible/latest/vmware/index.html)\n\n\nvBrownBag videos link\n---------------------\n\n* [VMware vSphere and Ansible From Zero to Useful](https://www.youtube.com/watch?v=0_qwOKlBlo8) by [@arielsanchezmor](https://twitter.com/arielsanchezmor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakasurde%2Fansible-vmware-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakasurde%2Fansible-vmware-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakasurde%2Fansible-vmware-http/lists"}