mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
VMware: Add support in VMWare modules for BIOS and instance UUID's (#44399)
* Add support for changing UUID type referenced * Update all appropriate VMware modules to include UUID type * Add integration test for filtering on instance UUID
This commit is contained in:
parent
f135960fc2
commit
e18d5ea8b3
17 changed files with 179 additions and 21 deletions
|
@ -48,6 +48,12 @@ options:
|
|||
description:
|
||||
- UUID of the virtual machine to manage if known. This is VMware's unique identifier.
|
||||
- This is required parameter, if C(name) is not supplied.
|
||||
use_instance_uuid:
|
||||
description:
|
||||
- Whether to use the VMWare instance UUID rather than the BIOS UUID.
|
||||
default: no
|
||||
type: bool
|
||||
version_added: '2.8'
|
||||
folder:
|
||||
description:
|
||||
- Absolute path to find an existing guest.
|
||||
|
@ -180,6 +186,7 @@ def main():
|
|||
name=dict(required=True, type='str'),
|
||||
folder=dict(type='str'),
|
||||
uuid=dict(type='str'),
|
||||
use_instance_uuid=dict(type='bool', default=False),
|
||||
state=dict(type='str', default='present',
|
||||
choices=['absent', 'present']),
|
||||
attributes=dict(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue