VMware: name is not required parameter for vmware_guest_custom_attributes

Fixes: #63222

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-10-10 11:21:30 +05:30 committed by Gonéri Le Bouder
parent b3deab4319
commit 35cc228b3b
3 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- vmware_guest_custom_attributes does not require VM name (https://github.com/ansible/ansible/issues/63222).

View file

@ -63,7 +63,7 @@ Noteworthy module changes
* :ref:`vmware_host_service_manager <vmware_host_service_manager_module>` now returns ``host_service_status`` instead of Ansible internal key ``results``.
* :ref:`vmware_tag <vmware_tag_module>` now returns ``tag_status`` instead of Ansible internal key ``results``.
* The deprecated ``recurse`` option in :ref:`pacman <pacman_module>` module has been removed, you should use ``extra_args=--recursive`` instead.
* :ref:`vmware_guest_custom_attributes <vmware_guest_custom_attributes_module>` module does not require VM name which was a required parameter for releases prior to Ansible 2.10.
Plugins
=======

View file

@ -37,7 +37,6 @@ options:
description:
- Name of the virtual machine to work with.
- This is required parameter, if C(uuid) or C(moid) is not supplied.
required: True
type: str
state:
description:
@ -206,7 +205,7 @@ def main():
argument_spec = vmware_argument_spec()
argument_spec.update(
datacenter=dict(type='str'),
name=dict(required=True, type='str'),
name=dict(type='str'),
folder=dict(type='str'),
uuid=dict(type='str'),
moid=dict(type='str'),