Merge "Use LXC from EPEL for 10"

This commit is contained in:
Zuul
2025-08-15 02:49:17 +00:00
committed by Gerrit Code Review

View File

@@ -21,19 +21,31 @@ _lxc_hosts_epel_packages:
- python3-lxc
lxc_centos_repo_keys:
- key: "/etc/pki/rpm-gpg/{{ lxc_centos_epel_key | basename }}"
url: "{{ lxc_centos_epel_key }}"
state: present
- key: "/etc/pki/rpm-gpg/neil-lxc4.0.gpg"
url: "https://download.copr.fedorainfracloud.org/results/neil/lxc4.0/pubkey.gpg"
state: present
lxc_centos_repos:
- name: epel-lxc_hosts
description: Copr repo for lxc4.0 owned by neil
baseurl: "{{ lxc_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}"
description: "LXC Packages for Enterprise Linux {{ ansible_facts['distribution_major_version'] }} - $basearch"
gpgcheck: true
gpgkey: "file:///etc/pki/rpm-gpg/{{ lxc_centos_epel_key | basename }}"
enabled: true
state: present
includepkgs: "{{ lxc_hosts_epel_packages }}"
- name: copr-lxc_hosts
description: Copr repo for python3-lxc owned by neil
baseurl: https://download.copr.fedorainfracloud.org/results/neil/lxc4.0/epel-10-$basearch/
gpgcheck: true
gpgkey: "file:///etc/pki/rpm-gpg/neil-lxc4.0.gpg"
enabled: true
state: present
includepkgs: "{{ _lxc_hosts_epel_packages }}"
includepkgs:
- python3-lxc
# Required rpm packages.
_lxc_hosts_distro_packages: