-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hosts.update: Reconfigure CentOS 8 repositories to vault
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 #102 for further developments. Signed-off-by: Anoop C S <[email protected]>
- Loading branch information
Showing
7 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
playbooks/ansible/roles/sit.glusterfs/tasks/common/centos.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
# required for dependencies | ||
- name: Enable GlusterFS repo | ||
yum: | ||
name: centos-release-gluster | ||
state: latest |
10 changes: 10 additions & 0 deletions
10
playbooks/ansible/roles/sit.glusterfs/tasks/common/centos8.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Process common OS tasks | ||
include_tasks: centos.yml | ||
|
||
# https://github.com/samba-in-kubernetes/sit-environment/issues/102 | ||
- name: Modify repositories to point at 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' {} \; |
3 changes: 3 additions & 0 deletions
3
playbooks/ansible/roles/sit.glusterfs/tasks/common/centos9.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
- name: Process common OS tasks | ||
include_tasks: centos.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 at 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
- name: Process common OS tasks | ||
include_tasks: centos.yml |