
This patch implements support for deployment on EL10. As of today LXC is not present in EPEL, so we use Neil's COPR repository right now. Once EPEL will add LXC package, we should replace COPR with it. Change-Id: Iac16f239805f391a4a93caa3737f65280a0bbf46
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
system_config_dir: "/etc/sysconfig"
|
|
systemd_utils_prefix: "/lib/systemd"
|
|
|
|
_lxc_hosts_epel_packages:
|
|
- lxc*
|
|
- python3-lxc
|
|
|
|
lxc_centos_repo_keys:
|
|
- key: "/etc/pki/rpm-gpg/{{ lxc_centos_epel_key | basename }}"
|
|
url: "{{ lxc_centos_epel_key }}"
|
|
state: present
|
|
|
|
lxc_centos_repos:
|
|
- name: epel-lxc_hosts
|
|
baseurl: "{{ lxc_centos_epel_mirror ~ '/' ~ ansible_facts['distribution_major_version'] ~ '/Everything/' ~ ansible_facts['architecture'] }}"
|
|
description: "Extra 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 | join(' ') }}"
|
|
|
|
# Required rpm packages.
|
|
_lxc_hosts_distro_packages:
|
|
- dbus
|
|
- dnsmasq
|
|
- e2fsprogs
|
|
- git-core
|
|
- iptables
|
|
- libseccomp
|
|
- lxc
|
|
- lxc-devel
|
|
- lxc-libs
|
|
- lxc-templates
|
|
- policycoreutils-python-utils
|
|
- procps
|
|
- python3-lxc
|
|
- systemd-container
|
|
- tar
|
|
- unzip
|
|
- xz
|
|
|
|
lxc_ssh_service_name: sshd
|
|
|
|
lxc_xz_bin: xz
|