Add sas_address and sas_device_handle to ansible disk device facts (#15201)

pull/15507/head
Adam Hamsik 9 years ago committed by Brian Coca
parent 1211a0fa12
commit 2424d57868

@ -1195,7 +1195,7 @@ class LinuxHardware(Hardware):
continue
d = {}
diskname = os.path.basename(sysdir)
for key in ['vendor', 'model']:
for key in ['vendor', 'model', 'sas_address', 'sas_device_handle']:
d[key] = get_file_content(sysdir + "/device/" + key)
for key,test in [ ('removable','/removable'), \

Loading…
Cancel
Save