diff options
author | Martin Nečas <necas.marty@gmail.com> | 2021-03-23 16:48:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-23 16:48:01 +0100 |
commit | a520da05842cdd3db820963470c436c1078ac54f (patch) | |
tree | 6446b9a1d391490647a3c8f06b201220d2319f8b | |
parent | Adding jborean93/WindowsServer2019 in docs (#73950) (diff) | |
download | ansible-a520da05842cdd3db820963470c436c1078ac54f.tar.xz ansible-a520da05842cdd3db820963470c436c1078ac54f.zip |
setup virtualization: fix RHEV product_name (#73919)
-rw-r--r-- | lib/ansible/module_utils/facts/virtual/linux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/facts/virtual/linux.py b/lib/ansible/module_utils/facts/virtual/linux.py index fca07e1b1c..066cf5e13c 100644 --- a/lib/ansible/module_utils/facts/virtual/linux.py +++ b/lib/ansible/module_utils/facts/virtual/linux.py @@ -160,7 +160,7 @@ class LinuxVirtual(Virtual): if not found_virt: virtual_facts['virtualization_type'] = 'RHV' found_virt = True - elif product_family == 'RHEV Hypervisor': + elif product_name == 'RHEV Hypervisor': guest_tech.add('RHEV') if not found_virt: virtual_facts['virtualization_type'] = 'RHEV' |