Documenting how to change VM's params (#65429)

pull/65697/head
Jiri Tyr 6 years ago committed by Sandra McCann
parent c185c46501
commit 88bba21708

@ -29,7 +29,7 @@ requirements:
- python >= 2.6 - python >= 2.6
- PyVmomi - PyVmomi
notes: notes:
- Please make sure that the user used for vmware_guest has the correct level of privileges. - Please make sure that the user used for M(vmware_guest) has the correct level of privileges.
- For example, following is the list of minimum privileges required by users to create virtual machines. - For example, following is the list of minimum privileges required by users to create virtual machines.
- " DataStore > Allocate Space" - " DataStore > Allocate Space"
- " Virtual Machine > Configuration > Add New Disk" - " Virtual Machine > Configuration > Add New Disk"
@ -38,9 +38,11 @@ notes:
- " Network > Assign Network" - " Network > Assign Network"
- " Resource > Assign Virtual Machine to Resource Pool" - " Resource > Assign Virtual Machine to Resource Pool"
- "Module may require additional privileges as well, which may be required for gathering facts - e.g. ESXi configurations." - "Module may require additional privileges as well, which may be required for gathering facts - e.g. ESXi configurations."
- Tested on vSphere 5.5, 6.0, 6.5 and 6.7 - Tested on vSphere 5.5, 6.0, 6.5 and 6.7.
- Use SCSI disks instead of IDE when you want to expand online disks by specifying a SCSI controller - Use SCSI disks instead of IDE when you want to expand online disks by specifying a SCSI controller.
- Uses SysPrep for Windows VM (depends on 'guest_id' parameter match 'win') with PyVmomi - Uses SysPrep for Windows VM (depends on 'guest_id' parameter match 'win') with PyVmomi.
- In order to change the VM's parameters (e.g. number of CPUs), the VM must be powered off unless the hot-add
support is enabled and the C(state=present) must be used to apply the changes.
- "For additional information please visit Ansible VMware community wiki - U(https://github.com/ansible/community/wiki/VMware)." - "For additional information please visit Ansible VMware community wiki - U(https://github.com/ansible/community/wiki/VMware)."
options: options:
state: state:

Loading…
Cancel
Save