mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user