openstack-ansible-lxc_hosts/vars/redhat-host.yml
Dmitriy Rabotyagov 30b97f57c9 Ensure tar is installed on LXC host
Tar is required for LXC to create base container using lxc-create. When
it's absent lxc-create exits with code 1 without any output on this
task [1]

[1] ef721dbf13/tasks/lxc_cache_create.yml (L71)

Change-Id: Ic54d160c7329aebb7769c407d3af7b0f66145bcc
2022-12-12 15:57:37 +01:00

42 lines
1.2 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_centos_package_baseurl: "https://download.copr.fedorainfracloud.org/results/neil/lxc4.0/centos-stream-9-$basearch/"
_lxc_centos_package_key: "https://download.copr.fedorainfracloud.org/results/neil/lxc4.0/pubkey.gpg"
# Required rpm packages.
_lxc_hosts_distro_packages:
- dbus
- dnsmasq
- git
- iptables
- libseccomp
- lxc
- lxc-devel
- lxc-libs
- lxc-templates-extra # requires lxc-templates
- policycoreutils-python-utils
- procps
- python3-lxc
- systemd-container
- tar
- unzip
- xz
lxc_xz_bin: xz