I am trying to find a mechanism to display the sd devices on RHEL servers that are available for mounting the filesystems using ansible.
When I try lsblk command , I get the details of all devices but I just want to extract the free devices and store it in list.