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
|
# I also couldn't find an ansible built-in to do this
|
||||||
- name: Enable the PowerTools repository
|
- name: Enable the PowerTools repository
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||||
section: powertools
|
section: powertools
|
||||||
option: enabled
|
option: enabled
|
||||||
value: 1
|
value: 1
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
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
|
- name: Enable the EPEL repository
|
||||||
yum:
|
yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
@ -68,6 +79,7 @@
|
|||||||
gpgcheck: true
|
gpgcheck: true
|
||||||
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
||||||
enabled: true
|
enabled: true
|
||||||
|
when: ansible_distribution_major_version == '8'
|
||||||
|
|
||||||
# Right now, we are not sure how or where we'll get our certificates. So we
|
# 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
|
# 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
|
# I also couldn't find an ansible built-in to do this
|
||||||
- name: Enable the PowerTools repository
|
- name: Enable the PowerTools repository
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||||
section: powertools
|
section: powertools
|
||||||
option: enabled
|
option: enabled
|
||||||
value: 1
|
value: 1
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
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
|
- name: Enable the EPEL repository
|
||||||
yum:
|
yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
@ -68,6 +79,7 @@
|
|||||||
gpgcheck: true
|
gpgcheck: true
|
||||||
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
gpgkey: https://download.copr.fedorainfracloud.org/results/nalika/rockylinux-tools/pubkey.gpg
|
||||||
enabled: true
|
enabled: true
|
||||||
|
when: ansible_distribution_major_version == '8'
|
||||||
|
|
||||||
# Right now, we are not sure how or where we'll get our certificates. So we
|
# 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
|
# 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
|
# I also couldn't find an ansible built-in to do this
|
||||||
- name: Enable the PowerTools repository
|
- name: Enable the PowerTools repository
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||||
section: powertools
|
section: powertools
|
||||||
option: enabled
|
option: enabled
|
||||||
value: 1
|
value: 1
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
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
|
- name: Enable the EPEL repository
|
||||||
yum:
|
yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
|
@ -64,15 +64,26 @@
|
|||||||
# I also couldn't find an ansible built-in to do this
|
# I also couldn't find an ansible built-in to do this
|
||||||
- name: Enable the PowerTools repository
|
- name: Enable the PowerTools repository
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
|
dest: /etc/yum.repos.d/Rocky-PowerTools.repo
|
||||||
section: powertools
|
section: powertools
|
||||||
option: enabled
|
option: enabled
|
||||||
value: 1
|
value: 1
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '0644'
|
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
|
- name: Enable the EPEL repository
|
||||||
yum:
|
yum:
|
||||||
name: epel-release
|
name: epel-release
|
||||||
|
Loading…
Reference in New Issue
Block a user