Skip to content

Ansible Collection for VMWare (REST modules). These modules are based upon VMware vSphere REST API interface without dependency of any third party libraries such as PyVmomi or vSphere Automation SDK for Python.

License

Notifications You must be signed in to change notification settings

Akasurde/vmware.vmware_rest

 
 

Repository files navigation

Ansible Collection: community.vmware_rest

This repo hosts the community.vmware_rest Ansible Collection.

The collection includes the VMware modules and plugins supported by Ansible VMware community to help the management of VMware infrastructure. These modules are different from community.vmware since they are based upon VMware vSphere REST API interface and not relying on any third party libraries such as Pyvmomi and vSphere Automation SDK for Python.

Ansible version compatibility

This collection has been tested against following Ansible versions: >=2.9.10.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions. PEP440 is the schema used to describe the versions of Ansible.

Content

Httpapi plugins

Name Description

Modules

Name Description
vmware.vmware_rest.vcenter_cluster_info Handle resource of type vcenter_cluster
vmware.vmware_rest.vcenter_datacenter Handle resource of type vcenter_datacenter
vmware.vmware_rest.vcenter_datacenter_info Handle resource of type vcenter_datacenter
vmware.vmware_rest.vcenter_datastore_info Handle resource of type vcenter_datastore
vmware.vmware_rest.vcenter_folder_info Handle resource of type vcenter_folder
vmware.vmware_rest.vcenter_host Handle resource of type vcenter_host
vmware.vmware_rest.vcenter_host_info Handle resource of type vcenter_host
vmware.vmware_rest.vcenter_network_info Handle resource of type vcenter_network
vmware.vmware_rest.vcenter_vm Handle resource of type vcenter_vm
vmware.vmware_rest.vcenter_vm_compute_policies_info Handle resource of type vcenter_vm_compute_policies
vmware.vmware_rest.vcenter_vm_console_tickets Handle resource of type vcenter_vm_console_tickets
vmware.vmware_rest.vcenter_vm_guest_customization Handle resource of type vcenter_vm_guest_customization
vmware.vmware_rest.vcenter_vm_guest_identity_info Handle resource of type vcenter_vm_guest_identity
vmware.vmware_rest.vcenter_vm_guest_localfilesystem_info Handle resource of type vcenter_vm_guest_localfilesystem
vmware.vmware_rest.vcenter_vm_guest_networking_info Handle resource of type vcenter_vm_guest_networking
vmware.vmware_rest.vcenter_vm_guest_networking_interfaces_info Handle resource of type vcenter_vm_guest_networking_interfaces
vmware.vmware_rest.vcenter_vm_guest_networking_routes_info Handle resource of type vcenter_vm_guest_networking_routes
vmware.vmware_rest.vcenter_vm_guest_power Handle resource of type vcenter_vm_guest_power
vmware.vmware_rest.vcenter_vm_guest_power_info Handle resource of type vcenter_vm_guest_power
vmware.vmware_rest.vcenter_vm_hardware Handle resource of type vcenter_vm_hardware
vmware.vmware_rest.vcenter_vm_hardware_action_upgrade Handle resource of type vcenter_vm_hardware_action_upgrade
vmware.vmware_rest.vcenter_vm_hardware_adapter_sata Handle resource of type vcenter_vm_hardware_adapter_sata
vmware.vmware_rest.vcenter_vm_hardware_adapter_sata_info Handle resource of type vcenter_vm_hardware_adapter_sata
vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi Handle resource of type vcenter_vm_hardware_adapter_scsi
vmware.vmware_rest.vcenter_vm_hardware_adapter_scsi_info Handle resource of type vcenter_vm_hardware_adapter_scsi
vmware.vmware_rest.vcenter_vm_hardware_boot Handle resource of type vcenter_vm_hardware_boot
vmware.vmware_rest.vcenter_vm_hardware_boot_device Handle resource of type vcenter_vm_hardware_boot_device
vmware.vmware_rest.vcenter_vm_hardware_boot_device_info Handle resource of type vcenter_vm_hardware_boot_device
vmware.vmware_rest.vcenter_vm_hardware_boot_info Handle resource of type vcenter_vm_hardware_boot
vmware.vmware_rest.vcenter_vm_hardware_cdrom Handle resource of type vcenter_vm_hardware_cdrom
vmware.vmware_rest.vcenter_vm_hardware_cdrom_connect Handle resource of type vcenter_vm_hardware_cdrom_connect
vmware.vmware_rest.vcenter_vm_hardware_cdrom_disconnect Handle resource of type vcenter_vm_hardware_cdrom_disconnect
vmware.vmware_rest.vcenter_vm_hardware_cdrom_info Handle resource of type vcenter_vm_hardware_cdrom
vmware.vmware_rest.vcenter_vm_hardware_cpu Handle resource of type vcenter_vm_hardware_cpu
vmware.vmware_rest.vcenter_vm_hardware_cpu_info Handle resource of type vcenter_vm_hardware_cpu
vmware.vmware_rest.vcenter_vm_hardware_disk Handle resource of type vcenter_vm_hardware_disk
vmware.vmware_rest.vcenter_vm_hardware_disk_info Handle resource of type vcenter_vm_hardware_disk
vmware.vmware_rest.vcenter_vm_hardware_ethernet Handle resource of type vcenter_vm_hardware_ethernet
vmware.vmware_rest.vcenter_vm_hardware_ethernet_connect Handle resource of type vcenter_vm_hardware_ethernet_connect
vmware.vmware_rest.vcenter_vm_hardware_ethernet_disconnect Handle resource of type vcenter_vm_hardware_ethernet_disconnect
vmware.vmware_rest.vcenter_vm_hardware_ethernet_info Handle resource of type vcenter_vm_hardware_ethernet
vmware.vmware_rest.vcenter_vm_hardware_floppy Handle resource of type vcenter_vm_hardware_floppy
vmware.vmware_rest.vcenter_vm_hardware_floppy_connect Handle resource of type vcenter_vm_hardware_floppy_connect
vmware.vmware_rest.vcenter_vm_hardware_floppy_disconnect Handle resource of type vcenter_vm_hardware_floppy_disconnect
vmware.vmware_rest.vcenter_vm_hardware_floppy_info Handle resource of type vcenter_vm_hardware_floppy
vmware.vmware_rest.vcenter_vm_hardware_info Handle resource of type vcenter_vm_hardware
vmware.vmware_rest.vcenter_vm_hardware_memory Handle resource of type vcenter_vm_hardware_memory
vmware.vmware_rest.vcenter_vm_hardware_memory_info Handle resource of type vcenter_vm_hardware_memory
vmware.vmware_rest.vcenter_vm_hardware_parallel Handle resource of type vcenter_vm_hardware_parallel
vmware.vmware_rest.vcenter_vm_hardware_parallel_connect Handle resource of type vcenter_vm_hardware_parallel_connect
vmware.vmware_rest.vcenter_vm_hardware_parallel_disconnect Handle resource of type vcenter_vm_hardware_parallel_disconnect
vmware.vmware_rest.vcenter_vm_hardware_parallel_info Handle resource of type vcenter_vm_hardware_parallel
vmware.vmware_rest.vcenter_vm_hardware_serial Handle resource of type vcenter_vm_hardware_serial
vmware.vmware_rest.vcenter_vm_hardware_serial_connect Handle resource of type vcenter_vm_hardware_serial_connect
vmware.vmware_rest.vcenter_vm_hardware_serial_disconnect Handle resource of type vcenter_vm_hardware_serial_disconnect
vmware.vmware_rest.vcenter_vm_hardware_serial_info Handle resource of type vcenter_vm_hardware_serial
vmware.vmware_rest.vcenter_vm_info Handle resource of type vcenter_vm
vmware.vmware_rest.vcenter_vm_libraryitem_info Handle resource of type vcenter_vm_libraryitem
vmware.vmware_rest.vcenter_vm_power Handle resource of type vcenter_vm_power
vmware.vmware_rest.vcenter_vm_power_info Handle resource of type vcenter_vm_power
vmware.vmware_rest.vcenter_vm_storage_policy Handle resource of type vcenter_vm_storage_policy
vmware.vmware_rest.vcenter_vm_storage_policy_compliance Handle resource of type vcenter_vm_storage_policy_compliance
vmware.vmware_rest.vcenter_vm_storage_policy_compliance_info Handle resource of type vcenter_vm_storage_policy_compliance
vmware.vmware_rest.vcenter_vm_storage_policy_info Handle resource of type vcenter_vm_storage_policy
vmware.vmware_rest.vcenter_vm_tools Handle resource of type vcenter_vm_tools
vmware.vmware_rest.vcenter_vm_tools_info Handle resource of type vcenter_vm_tools
vmware.vmware_rest.vcenter_vm_tools_installer Handle resource of type vcenter_vm_tools_installer
vmware.vmware_rest.vcenter_vm_tools_installer_info Handle resource of type vcenter_vm_tools_installer

Installation and Usage

Installing the Collection from Ansible Galaxy

Before using the VMware community collection, you need to install the collection with the ansible-galaxy CLI:

ansible-galaxy collection install community.vmware_rest

You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml using the format:

collections:
- name: community.vmware_rest

Please note this collection depends on Python 3.6 or greater.

Testing and Development

Please, don't open Pull Request against the vmware_rest repository. We use a project called vmware_rest_code_generate to generate these modules and your change would be lost.

Testing with ansible-test

virtualenv -p python3.7 .virtualenv/py37  # Or any other version greater than 3.6
source .virtualenv/py37/bin/activate
pip install -r requirements.txt -r test-requirements.txt
ansible-test network-integration --python 3.7 --inventory /tmp/inventory-vmware_rest vcenter_vm_scenario1

Communication

We have a dedicated Working Group for VMware. You can find other people interested in this in #ansible-vmware on Freenode IRC. For more information about communities, meetings and agendas see https://github.com/ansible/community/wiki/VMware.

License

GNU General Public License v3.0 or later

See LICENSE to see the full text.

About

Ansible Collection for VMWare (REST modules). These modules are based upon VMware vSphere REST API interface without dependency of any third party libraries such as PyVmomi or vSphere Automation SDK for Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%