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