Cause: The comparison of the present facts with the required facts is being done on unsorted lists. Consequence: The comparison may fail if the only difference is the order. Facts are gathered unnecessarily. Fix: Use `difference` which works no matter what the order is. Ensure that the fact gathering subsets used are the absolute minimum required. Result: The role gathers only the facts it requires, and does not unnecessarily gather facts. original issue https://github.com/linux-system-roles/storage/issues/373 storage fix https://github.com/linux-system-roles/storage/pull/374
Here is the script which can check logs https://github.com/linux-system-roles/auto-maintenance/pull/286