Remove centos references for koji
This commit is contained in:
parent
8d68fb0dae
commit
8d458ed5bb
@ -43,15 +43,26 @@
|
||||
# I also couldn't find an ansible built-in to do this
|
||||
- name: Enable the PowerTools repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
||||
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||
section: powertools
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
- name: Enable the CRB repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/rocky.repo
|
||||
section: crb
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version|int >= '9'
|
||||
|
||||
# The CentOS extras repos has epel-release provided
|
||||
- name: Enable the EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
@ -68,6 +79,7 @@
|
||||
gpgcheck: true
|
||||
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
||||
enabled: true
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
# Right now, we are not sure how or where we'll get our certificates. So we
|
||||
# are presenting a choice by setting a variable, koji_internal_ca. There is a
|
||||
|
@ -43,15 +43,26 @@
|
||||
# I also couldn't find an ansible built-in to do this
|
||||
- name: Enable the PowerTools repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
||||
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||
section: powertools
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
- name: Enable the CRB repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/rocky.repo
|
||||
section: crb
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version|int >= '9'
|
||||
|
||||
# The CentOS extras repos has epel-release provided
|
||||
- name: Enable the EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
@ -68,6 +79,7 @@
|
||||
gpgcheck: true
|
||||
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
||||
enabled: true
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
# Right now, we are not sure how or where we'll get our certificates. So we
|
||||
# are presenting a choice by setting a variable, koji_internal_ca. There is a
|
||||
|
@ -64,15 +64,26 @@
|
||||
# I also couldn't find an ansible built-in to do this
|
||||
- name: Enable the PowerTools repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
||||
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||
section: powertools
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
- name: Enable the CRB repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/rocky.repo
|
||||
section: crb
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version|int >= '9'
|
||||
|
||||
# The CentOS extras repos has epel-release provided
|
||||
- name: Enable the EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
|
@ -64,15 +64,26 @@
|
||||
# I also couldn't find an ansible built-in to do this
|
||||
- name: Enable the PowerTools repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
||||
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||
section: powertools
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version == '8'
|
||||
|
||||
- name: Enable the CRB repository
|
||||
ini_file:
|
||||
dest: /etc/yum.repos.d/rocky.repo
|
||||
section: crb
|
||||
option: enabled
|
||||
value: 1
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
when: ansible_distribution_major_version|int >= '9'
|
||||
|
||||
# The CentOS extras repos has epel-release provided
|
||||
- name: Enable the EPEL repository
|
||||
yum:
|
||||
name: epel-release
|
||||
|
Loading…
Reference in New Issue
Block a user