
Add repositories for CentOS 8, add base test. Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com> Change-Id: I24e194a2f4729046c8f521ffccd3b00055127516
29 lines
804 B
YAML
29 lines
804 B
YAML
- name: Install CentOS 8 repository files
|
|
become: yes
|
|
template:
|
|
dest: "/{{ item }}"
|
|
group: root
|
|
mode: 0644
|
|
owner: root
|
|
src: "centos8/{{ item }}.j2"
|
|
with_items:
|
|
- etc/yum.repos.d/CentOS-AppStream.repo
|
|
- etc/yum.repos.d/CentOS-Base.repo
|
|
- etc/yum.repos.d/CentOS-Extras.repo
|
|
- etc/yum.repos.d/CentOS-PowerTools.repo
|
|
- etc/yum.repos.d/epel.repo
|
|
notify:
|
|
- Update dnf cache
|
|
|
|
# http://dnf.readthedocs.io/en/latest/conf_ref.html#options-for-both-main-and-repo
|
|
# deltarpm is useful when the bottleneck is the network throughput.
|
|
# It also requires additional drpm packages to be hosted by the mirrors which
|
|
# is not done by default.
|
|
- name: Disable deltrarpm
|
|
become: yes
|
|
ini_file:
|
|
path: /etc/dnf.conf
|
|
section: main
|
|
option: deltarpm
|
|
value: 0
|