Skip to content

Commit 42db2fa

Browse files
authored
Merge pull request #125 from stackhpc/feature/Rocky
Support Rocky Linux
2 parents 6b2148e + 5303f2e commit 42db2fa

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
image:
27-
- 'centos:8.2.2004'
28-
- 'centos:8.3.2011'
29-
- 'centos:8.4.2105'
3027
- 'centos:7'
28+
- 'rockylinux:8.5'
3129
scenario:
3230
- test1
3331
- test1b

tasks/install.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
include_vars:
2020
file: "ohpc-{{ ansible_facts.packages['ohpc-release'][0]['version'] }}"
2121

22-
- name: Find CentOS8 PowerTools repo
22+
- name: Find PowerTools repo
2323
find:
2424
paths: /etc/yum.repos.d
25-
patterns: CentOS-*PowerTools.repo
25+
patterns: '*-*PowerTools.repo'
2626
register: powertools
2727
when: ansible_distribution_major_version == "8"
2828

29-
- name: Enable CentOS8 PowerTools repo
29+
- name: Enable PowerTools repo
3030
# NB: doesn't run command `dnf config-manager --set-enabled PowerTools` as can't make that idempotent
3131
lineinfile:
3232
path: "{{ powertools.files[0].path }}" # 8.2: /etc/yum.repos.d/CentOS-PowerTools.repo 8.3: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo

0 commit comments

Comments
 (0)