Fixes: https://tracker.ceph.com/issues/51638
Signed-off-by: David Galloway <dgallowa@redhat.com>
- ansible_lsb.description is defined
- '"Stream" in ansible_lsb.description'
+- name: Include CentOS Stream specific variables
+ include_vars: "{{ item }}"
+ with_first_found:
+ - "{{ ansible_distribution | lower | regex_replace(' ', '_') }}_{{ ansible_distribution_major_version }}_stream.yml"
+ - empty.yml
when:
- ansible_lsb.description is defined
- '"Stream" in ansible_lsb.description'
+ tags:
+ - repos
- name: Setup local repo files.
import_tasks: yum/repos.yml
--- /dev/null
+---
+# vars specific to centos 8 stream
+# Should be in addition to or in replace of vars in centos_8.yml
+
+additional_yum_repos:
+ CentOS-PowerTools:
+ name: "CentOS-$releasever - PowerTools"
+ mirrorlist: http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=PowerTools&infra=$infra
+ gpgcheck: 1
+ enabled: 1
+ gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial