From 05840ffe16d9260d2448afee1c0f485b73f0c4e7 Mon Sep 17 00:00:00 2001 From: "C. Friedrichs" Date: Mon, 17 Sep 2018 21:59:21 +0200 Subject: [PATCH] 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. --- lib/ansible/modules/cloud/vmware/vmware_guest.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest.py b/lib/ansible/modules/cloud/vmware/vmware_guest.py index d7b55ccf9e..a1fdfd7e04 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest.py @@ -29,7 +29,7 @@ requirements: - python >= 2.6 - PyVmomi 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. - " DataStore > Allocate Space" - " Virtual Machine > Configuration > Add New Disk" @@ -38,12 +38,13 @@ notes: - " Network > Assign Network" - " 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." - - 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)." options: state: 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 configurations conforms to task arguments.' - 'If C(state) is set to C(absent) and virtual machine exists, then the specified virtual machine