-
-
Notifications
You must be signed in to change notification settings - Fork 6
fix repo file name for AlmaLinux >=8.5 #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix repo file name for AlmaLinux >=8.5 #8
Conversation
This role is currently broken on Alma Linux:
|
vars/main.yml
Outdated
_powertools_repo_file: | ||
RedHat: "{{ ansible_distribution }}-PowerTools.repo" | ||
Rocky: "{{ ansible_distribution }}-PowerTools.repo" | ||
Rocky: "{{ ansible_distribution|lower }}-PowerTools.repo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ztmr This change appears to be wrong, Rocky Linux uses uppercase letters, see https://rockylinux.pkgs.org/8/rockylinux-baseos-x86_64/rocky-repos-8.9-1.6.el8.noarch.rpm.html => Files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Brueggus for Rocky 9.x it is lowercase, for Rocky 8.x it is camelcase, what a mess. I've fixed this elsewhere already and didn't sync this change back. I'll try to update this PR accordingly later this week.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Brueggus I take the earlier comment back, I got it confused with the change in Alma mid 8.x -- you were right, the fix commit for 9.x broke 8.x.
Is the updated version working for you now?
7e430e9
to
5e93ea7
Compare
c9a935a
to
e195f9e
Compare
Starting from AlmaLinux 8.5, the repository filename is called
almalinux-powertools.repo
instead ofalmalinux-PowerTools.repo
.This change should fix that.