1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

updated documentation in vmware_guest.py (#45481)

Added note regarding online disk resizing and changed wording of a few sentences. Also added vSphere 6.7 as "tested on" as it works very well.
This commit is contained in:
C. Friedrichs 2018-09-17 21:59:21 +02:00 committed by Sandra McCann
parent 63444136ba
commit 05840ffe16

View file

@ -29,7 +29,7 @@ requirements:
- python >= 2.6 - python >= 2.6
- PyVmomi - PyVmomi
notes: notes:
- Please make sure the user used for vmware_guest should have correct level of privileges. - Please make sure that the user used for 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,12 +38,13 @@ 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 and 6.5 - Tested on vSphere 5.5, 6.0, 6.5 and 6.7
- Use SCSI disks instead of IDE when you want to resize online disks by specifing a SCSI controller
- "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:
description: description:
- Specify state of the virtual machine be in. - Specify the state the virtual machine should be in.
- 'If C(state) is set to C(present) and virtual machine exists, ensure the virtual machine - 'If C(state) is set to C(present) and virtual machine exists, ensure the virtual machine
configurations conforms to task arguments.' configurations conforms to task arguments.'
- 'If C(state) is set to C(absent) and virtual machine exists, then the specified virtual machine - 'If C(state) is set to C(absent) and virtual machine exists, then the specified virtual machine