mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -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
|
@ -82,6 +82,12 @@ options:
|
|||
- This is required if C(name) is not supplied.
|
||||
- If virtual machine does not exists, then this parameter is ignored.
|
||||
- Please note that a supplied UUID will be ignored on virtual machine creation, as VMware creates the UUID internally.
|
||||
use_instance_uuid:
|
||||
description:
|
||||
- Whether to use the VMWare instance UUID rather than the BIOS UUID.
|
||||
default: no
|
||||
type: bool
|
||||
version_added: '2.8'
|
||||
template:
|
||||
description:
|
||||
- Template or existing virtual machine used to create new virtual machine.
|
||||
|
@ -2523,6 +2529,7 @@ def main():
|
|||
name=dict(type='str'),
|
||||
name_match=dict(type='str', choices=['first', 'last'], default='first'),
|
||||
uuid=dict(type='str'),
|
||||
use_instance_uuid=dict(type='bool', default=False),
|
||||
folder=dict(type='str'),
|
||||
guest_id=dict(type='str'),
|
||||
disk=dict(type='list', default=[]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue