Skip to content

Expand Windows disk

Go to Automation

View in GitLab

Description

Extends the disk of a Windows VM by identifying the VM, checking snapshots, collecting disk information, increasing disk capacity, and enlarging the partition. It uses VMware and Windows modules to perform these tasks.

Credentials

  • sys_ansible_vmware

Input

Variable Description
target Server for which a disk needs to be expanded
expandletter Drive letter of the disk to be expanded
expandsize Desired expansion in Gb

Output

None (but new disk size is displayed in the last task)

Dependencies