Files
openstack-ansible-lxc_hosts/vars/redhat-host.yml
Dmitriy Rabotyagov 058003873f Transform GPG/Repo installed to be a list
While we keep current behaviour without any major changes,
having repos as a list may allow us extending the list by adding
third-party repositories for some distros if needed (like for EL10).

Change-Id: I49f56a72ac3e5e5d039240011440390d488c6abb
2025-06-06 07:23:46 +00:00

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
- 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