mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 10:51:24 -07:00
VMware: Hardware version support (#36562)
This fix adds support for specifying hardware version for virtual machine. Fixes: #35831 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
44332bda78
commit
435649274b
2 changed files with 47 additions and 1 deletions
|
@ -290,6 +290,7 @@ def gather_vm_facts(content, vm):
|
|||
'hw_guest_ha_state': None,
|
||||
'hw_is_template': vm.config.template,
|
||||
'hw_folder': None,
|
||||
'hw_version': vm.config.version,
|
||||
'guest_tools_status': _get_vm_prop(vm, ('guest', 'toolsRunningStatus')),
|
||||
'guest_tools_version': _get_vm_prop(vm, ('guest', 'toolsVersion')),
|
||||
'guest_question': vm.summary.runtime.question,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue