We need to return virtual_facts after VMWare platform detection (#38237)

pull/38891/merge
bmfp 7 years ago committed by ansibot
parent ca164749b4
commit 4f36d7965e

@ -245,6 +245,7 @@ class LinuxVirtual(Virtual):
if vendor_name.startwith('VMware'): if vendor_name.startwith('VMware'):
virtual_facts['virtualization_type'] = 'VMware' virtual_facts['virtualization_type'] = 'VMware'
virtual_facts['virtualization_role'] = 'guest' virtual_facts['virtualization_role'] = 'guest'
return virtual_facts
# If none of the above matches, return 'NA' for virtualization_type # If none of the above matches, return 'NA' for virtualization_type
# and virtualization_role. This allows for proper grouping. # and virtualization_role. This allows for proper grouping.

Loading…
Cancel
Save