Closed dmrub closed 1 year ago
I'm on ansible [core 2.11.5]
and I still needed this PR, else I got the following on Rocky 8.5:
TASK [cloudalchemy.prometheus : Install SELinux dependencies] *********************************************************************************************************
failed: [alaska-control] (item=libselinux-python) => {
"ansible_loop_var": "item",
"attempts": 5,
"changed": false,
"failures": [
"libselinux-python All matches were filtered out by modular filtering for argument: libselinux-python"
],
"item": "libselinux-python",
"rc": 1,
"results": []
}
MSG:
Failed to install some of the specified packages
Maybe the package names have changed from libselinux-python
to python3-libselinux
from 8.x to 8.5??
I don't understand the CI lint failure but this PR works for me.
This should be fixed already for all RHEL clones in master
by aa95978755345097effca886bf116dace739d31b
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This role has been deprecated in favor of a the prometheus-community/ansible collection.
This is a workaround because Rocky Linux is not identified as RedHat until Ansible 2.11. https://forums.rockylinux.org/t/ansible-os-family-question/3320