AnsibleVMware

Manage VMware vSphere Server, Guests, and ESXi Hosts.

IT Services · Ansible VMware

Configuration parameters

  • hostname — Hostname (required)
  • port — Port (required)
  • creds — Username (required)
  • validate_certs — Validate Certs (required)

Commands (116)

  • vmware-about-info

    Provides information about VMware server to which user is connecting to Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_about_info_module.html

  • vmware-category

    Manage VMware categories Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_category_module.html

  • vmware-category-info

    Gather info about VMware tag categories Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_category_info_module.html

  • vmware-cfg-backup

    Backup / Restore / Reset ESXi host configuration Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cfg_backup_module.html

  • vmware-cluster

    Manage VMware vSphere clusters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cluster_module.html

  • vmware-cluster-drs

    Manage Distributed Resource Scheduler (DRS) on VMware vSphere clusters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cluster_drs_module.html

  • vmware-cluster-ha

    Manage High Availability (HA) on VMware vSphere clusters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cluster_ha_module.html

  • vmware-cluster-info

    Gather info about clusters available in given vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cluster_info_module.html

  • vmware-cluster-vsan

    Manages virtual storage area network (vSAN) configuration on VMware vSphere clusters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_cluster_vsan_module.html

  • vmware-content-deploy-template

    Deploy Virtual Machine from template stored in content library. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_content_deploy_template_module.html

  • vmware-content-library-info

    Gather information about VMware Content Library Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_content_library_info_module.html

  • vmware-content-library-manager

    Create, update and delete VMware content library Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_content_library_manager_module.html

  • vmware-datacenter

    Manage VMware vSphere Datacenters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_datacenter_module.html

  • vmware-datastore-cluster

    Manage VMware vSphere datastore clusters Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_datastore_cluster_module.html

  • vmware-datastore-info

    Gather info about datastores available in given vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_datastore_info_module.html

  • vmware-datastore-maintenancemode

    Place a datastore into maintenance mode Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_datastore_maintenancemode_module.html

  • vmware-dns-config

    Manage VMware ESXi DNS Configuration Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dns_config_module.html

  • vmware-drs-group

    Creates vm/host group in a given cluster. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_drs_group_module.html

  • vmware-drs-group-info

    Gathers info about DRS VM/Host groups on the given cluster Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_drs_group_info_module.html

  • vmware-drs-rule-info

    Gathers info about DRS rule on the given cluster Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_drs_rule_info_module.html

  • vmware-dvs-host

    Add or remove a host from distributed virtual switch Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvs_host_module.html

  • vmware-dvs-portgroup

    Create or remove a Distributed vSwitch portgroup. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvs_portgroup_module.html

  • vmware-dvs-portgroup-find

    Find portgroup(s) in a VMware environment Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvs_portgroup_find_module.html

  • vmware-dvs-portgroup-info

    Gathers info DVS portgroup configurations Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvs_portgroup_info_module.html

  • vmware-dvswitch

    Create or remove a Distributed Switch Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvswitch_module.html

  • vmware-dvswitch-lacp

    Manage LACP configuration on a Distributed Switch Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvswitch_lacp_module.html

  • vmware-dvswitch-nioc

    Manage distributed switch Network IO Control Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvswitch_nioc_module.html

  • vmware-dvswitch-pvlans

    Manage Private VLAN configuration of a Distributed Switch Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvswitch_pvlans_module.html

  • vmware-dvswitch-uplink-pg

    Manage uplink portproup configuration of a Distributed Switch Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_dvswitch_uplink_pg_module.html

  • vmware-evc-mode

    Enable/Disable EVC mode on vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_evc_mode_module.html

  • vmware-folder-info

    Provides information about folders in a datacenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_folder_info_module.html

  • vmware-guest

    Manages virtual machines in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_module.html

  • vmware-guest-boot-info

    Gather info about boot options for the given virtual machine Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_boot_info_module.html

  • vmware-guest-boot-manager

    Manage boot options for the given virtual machine Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_boot_manager_module.html

  • vmware-guest-custom-attribute-defs

    Manage custom attributes definitions for virtual machine from VMware Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_custom_attribute_defs_module.html

  • vmware-guest-custom-attributes

    Manage custom attributes from VMware for the given virtual machine Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_custom_attributes_module.html

  • vmware-guest-customization-info

    Gather info about VM customization specifications Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_customization_info_module.html

  • vmware-guest-disk

    Manage disks related to virtual machine in given vCenter infrastructure Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_disk_module.html

  • vmware-guest-disk-info

    Gather info about disks of given virtual machine Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_disk_info_module.html

  • vmware-guest-find

    Find the folder path(s) for a virtual machine by name or UUID Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_find_module.html

  • vmware-guest-info

    Gather info about a single VM Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_info_module.html

  • vmware-guest-move

    Moves virtual machines in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_move_module.html

  • vmware-guest-network

    Manage network adapters of specified virtual machine in given vCenter infrastructure Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_network_module.html

  • vmware-guest-powerstate

    Manages power states of virtual machines in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_powerstate_module.html

  • vmware-guest-screenshot

    Create a screenshot of the Virtual Machine console. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_screenshot_module.html

  • vmware-guest-sendkey

    Send USB HID codes to the Virtual Machine's keyboard. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_sendkey_module.html

  • vmware-guest-snapshot

    Manages virtual machines snapshots in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_snapshot_module.html

  • vmware-guest-snapshot-info

    Gather info about virtual machine's snapshots in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_snapshot_info_module.html

  • vmware-guest-tools-upgrade

    Module to upgrade VMTools Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_tools_upgrade_module.html

  • vmware-guest-tools-wait

    Wait for VMware tools to become available Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_tools_wait_module.html

  • vmware-guest-video

    Modify video card configurations of specified virtual machine in given vCenter infrastructure Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_video_module.html

  • vmware-guest-vnc

    Manages VNC remote display on virtual machines in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_guest_vnc_module.html

  • vmware-host

    Add, remove, or move an ESXi host to, from, or within vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_module.html

  • vmware-host-acceptance

    Manage the host acceptance level of an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_acceptance_module.html

  • vmware-host-active-directory

    Joins an ESXi host system to an Active Directory domain or leaves it Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_active_directory_module.html

  • vmware-host-capability-info

    Gathers info about an ESXi host's capability information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_capability_info_module.html

  • vmware-host-config-info

    Gathers info about an ESXi host's advance configuration information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_config_info_module.html

  • vmware-host-config-manager

    Manage advanced system settings of an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_config_manager_module.html

  • vmware-host-datastore

    Manage a datastore on ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_datastore_module.html

  • vmware-host-dns-info

    Gathers info about an ESXi host's DNS configuration information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_dns_info_module.html

  • vmware-host-facts

    Gathers facts about remote ESXi hostsystem Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_facts_module.html

  • vmware-host-feature-info

    Gathers info about an ESXi host's feature capability information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_feature_info_module.html

  • vmware-host-firewall-info

    Gathers info about an ESXi host's firewall configuration information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_firewall_info_module.html

  • vmware-host-firewall-manager

    Manage firewall configurations about an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_firewall_manager_module.html

  • vmware-host-hyperthreading

    Enables/Disables Hyperthreading optimization for an ESXi host system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_hyperthreading_module.html

  • vmware-host-ipv6

    Enables/Disables IPv6 support for an ESXi host system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_ipv6_module.html

  • vmware-host-kernel-manager

    Manage kernel module options on ESXi hosts Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_kernel_manager_module.html

  • vmware-host-lockdown

    Manage administrator permission for the local administrative account for the ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_lockdown_module.html

  • vmware-host-ntp

    Manage NTP server configuration of an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_ntp_module.html

  • vmware-host-ntp-info

    Gathers info about NTP configuration on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_ntp_info_module.html

  • vmware-host-package-info

    Gathers info about available packages on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_package_info_module.html

  • vmware-host-powermgmt-policy

    Manages the Power Management Policy of an ESXI host system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_powermgmt_policy_module.html

  • vmware-host-powerstate

    Manages power states of host systems in vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_powerstate_module.html

  • vmware-host-scanhba

    Rescan host HBA's and optionally refresh the storage system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_scanhba_module.html

  • vmware-host-service-info

    Gathers info about an ESXi host's services Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_service_info_module.html

  • vmware-host-service-manager

    Manage services on a given ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_service_manager_module.html

  • vmware-host-snmp

    Configures SNMP on an ESXi host system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_snmp_module.html

  • vmware-host-ssl-info

    Gather info of ESXi host system about SSL Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_ssl_info_module.html

  • vmware-host-vmhba-info

    Gathers info about vmhbas available on the given ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_vmhba_info_module.html

  • vmware-host-vmnic-info

    Gathers info about vmnics available on the given ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_host_vmnic_info_module.html

  • vmware-local-role-info

    Gather info about local roles on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_local_role_info_module.html

  • vmware-local-role-manager

    Manage local roles on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_local_role_manager_module.html

  • vmware-local-user-info

    Gather info about users on the given ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_local_user_info_module.html

  • vmware-local-user-manager

    Manage local users on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_local_user_manager_module.html

  • vmware-maintenancemode

    Place a host into maintenance mode Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_maintenancemode_module.html

  • vmware-migrate-vmk

    Migrate a VMK interface from VSS to VDS Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_migrate_vmk_module.html

  • vmware-object-role-permission

    Manage local roles on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_object_role_permission_module.html

  • vmware-portgroup

    Create a VMware portgroup Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_portgroup_module.html

  • vmware-portgroup-info

    Gathers info about an ESXi host's Port Group configuration Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_portgroup_info_module.html

  • vmware-resource-pool

    Add/remove resource pools to/from vCenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_resource_pool_module.html

  • vmware-resource-pool-info

    Gathers info about resource pool information Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_resource_pool_info_module.html

  • vmware-tag

    Manage VMware tags Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_tag_module.html

  • vmware-tag-info

    Manage VMware tag info Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_tag_info_module.html

  • vmware-tag-manager

    Manage association of VMware tags with VMware objects Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_tag_manager_module.html

  • vmware-target-canonical-info

    Return canonical (NAA) from an ESXi host system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_target_canonical_info_module.html

  • vmware-vcenter-extension

    Register/deregister vCenter Extensions Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vcenter_extension_module.html

  • vmware-vcenter-extension-info

    Gather info vCenter extensions Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vcenter_extension_info_module.html

  • vmware-vcenter-folder

    Manage folders on given datacenter Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vcenter_folder_module.html

  • vmware-vcenter-license

    Manage VMware vCenter license keys Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vcenter_license_module.html

  • vmware-vcenter-settings

    Configures general settings on a vCenter server Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vcenter_settings_module.html

  • vmware-vcenter-statistics

    Configures statistics on a vCenter server Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vcenter_statistics_module.html

  • vmware-vm-host-drs-rule

    Creates vm/host group in a given cluster Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_host_drs_rule_module.html

  • vmware-vm-info

    Return basic info pertaining to a VMware machine guest Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_info_module.html

  • vmware-vm-shell

    Run commands in a VMware guest operating system Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_shell_module.html

  • vmware-vm-storage-policy-info

    Gather information about vSphere storage profile defined storage policy information. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_storage_policy_info_module.html

  • vmware-vm-vm-drs-rule

    Configure VMware DRS Affinity rule for virtual machine in given cluster Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_vm_drs_rule_module.html

  • vmware-vm-vss-dvs-migrate

    Migrates a virtual machine from a standard vswitch to distributed Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vm_vss_dvs_migrate_module.html

  • vmware-vmkernel

    Manages a VMware VMkernel Adapter of an ESXi host. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vmkernel_module.html

  • vmware-vmkernel-info

    Gathers VMKernel info about an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vmkernel_info_module.html

  • vmware-vmkernel-ip-config

    Configure the VMkernel IP Address Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vmkernel_ip_config_module.html

  • vmware-vmotion

    Move a virtual machine using vMotion, and/or its vmdks using storage vMotion. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vmotion_module.html

  • vmware-vsan-cluster

    Configure VSAN clustering on an ESXi host Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vsan_cluster_module.html

  • vmware-vspan-session

    Create or remove a Port Mirroring session. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vspan_session_module.html

  • vmware-vsphere-file

    Manage files on a vCenter datastore Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vsphere_file_module.html

  • vmware-vswitch

    Manage a VMware Standard Switch to an ESXi host. Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vswitch_module.html

  • vmware-vswitch-info

    Gathers info about an ESXi host's vswitch configurations Further documentation available at https://docs.ansible.com/ansible/2.9/modules/vmware_vswitch_info_module.html