mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
add instanceUuid (also called PersistentId) in vmware utils (#37127)
This commit is contained in:
parent
93fc99c576
commit
0cdba9ff70
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ def gather_vm_facts(content, vm):
|
||||||
'hw_is_template': vm.config.template,
|
'hw_is_template': vm.config.template,
|
||||||
'hw_folder': None,
|
'hw_folder': None,
|
||||||
'hw_version': vm.config.version,
|
'hw_version': vm.config.version,
|
||||||
|
'instance_uuid': vm.config.instanceUuid,
|
||||||
'guest_tools_status': _get_vm_prop(vm, ('guest', 'toolsRunningStatus')),
|
'guest_tools_status': _get_vm_prop(vm, ('guest', 'toolsRunningStatus')),
|
||||||
'guest_tools_version': _get_vm_prop(vm, ('guest', 'toolsVersion')),
|
'guest_tools_version': _get_vm_prop(vm, ('guest', 'toolsVersion')),
|
||||||
'guest_question': vm.summary.runtime.question,
|
'guest_question': vm.summary.runtime.question,
|
||||||
|
|
Loading…
Reference in a new issue