mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix issue 2906
This commit is contained in:
parent
56e3cef60c
commit
8926684942
1 changed files with 9 additions and 8 deletions
|
@ -626,6 +626,7 @@ class LinuxHardware(Hardware):
|
|||
d['host'] = m.group(1)
|
||||
|
||||
d['holders'] = []
|
||||
if os.path.isdir(sysdir + "/holders"):
|
||||
for folder in os.listdir(sysdir + "/holders"):
|
||||
if not folder.startswith("dm-"):
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue