linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
104 stars 59 forks source link

Amazon Linux 2023 Support #430

Open bobdoleadin opened 8 months ago

bobdoleadin commented 8 months ago

Does anyone know if this storage role works with Amazon Linux 2023? It tries to install Blivet through dnf package manager and fails as it isn't a package on Amazon Linux. I have installed blivet through pip and verified it is there but the role still tries to load blivet from package and fails.

This is a Fedora and CentOS 9 based OS. We are tryiing to run this through AWX with a requirements.yml pointing to ansible galaxy (linux-system-roles.storage). I've tried using different interpreters python 3.6, 3.9, etc. Thank you.

richm commented 8 months ago

Does anyone know if this storage role works with Amazon Linux 2023? It tries to install Blivet through dnf package manager and fails as it isn't a package on Amazon Linux.

Do you mean - will the storage role work with Amazon Linux if you hack the role to use pip to install Blivet instead of package or dnf? I don't know.

I have installed blivet through pip and verified it is there but the role still tries to load blivet from package and fails.

You'll have to hack the role to tell it to skip package add an ignore_errors: true to that task or something similar.

And even then - I have no idea if it will work.

This is a Fedora and CentOS 9 based OS. We are tryiing to run this through AWX with a requirements.yml pointing to ansible galaxy (linux-system-roles.storage). I've tried using different interpreters python 3.6, 3.9, etc. Thank you.

bobdoleadin commented 8 months ago

Thanks. I'll see if I can wrap the role in a block maybe and try to ignore errors with blivet like what you've suggested. Trying to avoid editing the role since we are pulling it from galaxy and not storing it locally. I'll report back if any success..