Skip to content

Commit

Permalink
hosts.update: Reconfigure CentOS 8 repositories to vault
Browse files Browse the repository at this point in the history
CentOS Stream 8 reached EOL but our GPFS and GlusterFS environment
setup still has some dependencies which are not yet fulfilled by
CentOS Stream 9. In case of GlusterFS it lacks few gluster-ansible
related rpms whereas GPFS is not yet ready to be compiled against
newer kernel versions from CentOS Stream 9.

Therefore we stick to CentOS Stream 8 till requirements are met.
See samba-in-kubernetes#102
for further developments.

Signed-off-by: Anoop C S <[email protected]>
  • Loading branch information
anoopcs9 committed Jun 11, 2024
1 parent a05bd46 commit d2fd887
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions playbooks/roles/hosts.update/tasks/centos8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
# https://github.com/samba-in-kubernetes/sit-environment/issues/102
- name: Modify repositories to point CentOS vault
shell: >-
find /etc/yum.repos.d/ -name '*.repo' -exec sed -i \
-e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://mirror.centos.org|baseurl=https://vault.centos.org|g' {} \;
- name: Process common OS tasks
include_tasks: centos.yml
3 changes: 3 additions & 0 deletions playbooks/roles/hosts.update/tasks/centos9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- name: Process common OS tasks
include_tasks: centos.yml

0 comments on commit d2fd887

Please sign in to comment.