summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Nečas <necas.marty@gmail.com>2021-03-23 16:48:01 +0100
committerGitHub <noreply@github.com>2021-03-23 16:48:01 +0100
commita520da05842cdd3db820963470c436c1078ac54f (patch)
tree6446b9a1d391490647a3c8f06b201220d2319f8b
parentAdding jborean93/WindowsServer2019 in docs (#73950) (diff)
downloadansible-a520da05842cdd3db820963470c436c1078ac54f.tar.xz
ansible-a520da05842cdd3db820963470c436c1078ac54f.zip
setup virtualization: fix RHEV product_name (#73919)
-rw-r--r--lib/ansible/module_utils/facts/virtual/linux.py2
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'