RHEV virt facts: Detect vdsmd in addition to vdsm (#70901)
Change: - Look for the `vdsmd` process in addition to `vdsm` as before. Tickets: - Fixes #66147 Signed-off-by: Rick Elrod <rick@elrod.me>
This commit is contained in:
parent
7d32129efb
commit
c19a10e13a
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/66147_rhev_vdsm_vdsmd.yml
Normal file
2
changelogs/fragments/66147_rhev_vdsm_vdsmd.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- virtualization facts - Detect ``vdsmd`` in addition to ``vdsm`` when trying to detect RHEV hosts. (https://github.com/ansible/ansible/issues/66147)
|
|
@ -206,7 +206,7 @@ class LinuxVirtual(Virtual):
|
|||
try:
|
||||
with open(f) as virt_fh:
|
||||
comm_content = virt_fh.read().rstrip()
|
||||
if comm_content == 'vdsm':
|
||||
if comm_content in ('vdsm', 'vdsmd'):
|
||||
virtual_facts['virtualization_type'] = 'RHEV'
|
||||
break
|
||||
except Exception:
|
||||
|
|
Loading…
Reference in a new issue