prep for 8 and 9 diffs

This commit is contained in:
nazunalika 2022-03-03 19:16:44 -07:00
parent 6dca8613e3
commit 460acc21ef
Signed by: label
GPG Key ID: 6735C0E1BD65D048
2 changed files with 24 additions and 0 deletions

View File

@ -35,6 +35,18 @@
owner: root
group: root
mode: '0644'
when: ansible_distribution_major_version == "8"
- name: Enable the CRB repository
community.general.ini_file:
dest: /etc/yum.repos.d/Rocky-CRB.repo
section: crb
option: enabled
value: 1
owner: root
group: root
mode: '0644'
when: ansible_distribution_major_version == "9"
# The CentOS extras repos has epel-release provided
- name: Enable the EPEL repository

View File

@ -41,6 +41,18 @@
owner: root
group: root
mode: '0644'
when: ansible_distribution_major_version == "8"
- name: Enable the CRB repository
community.general.ini_file:
dest: /etc/yum.repos.d/Rocky-CRB.repo
section: crb
option: enabled
value: 1
owner: root
group: root
mode: '0644'
when: ansible_distribution_major_version == "9"
# The extras repos has epel-release provided
- name: Enable the EPEL repository