openstack-ansible-nspawn_hosts/vars/ubuntu-16.04.yml

64 lines
1.5 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.
_nspawn_hosts_container_image_url: "http://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ubuntu-base-16.04.4-base-{{ nspawn_cache_map.arch }}.tar.gz"
_nspawn_hosts_distro_packages:
- bridge-utils
- btrfs-tools
- dbus
- dnsmasq
- git
- iptables
- irqbalance
- psmisc
- pxz
- systemd-container
_nspawn_container_distro_required_packages:
- gnupg
_nspawn_container_distro_packages:
- apt-transport-https
- ca-certificates
- cron
- dbus
- debianutils
- iproute2
- iputils-ping
- libnss-resolve
- libpython2.7
- locales
- netbase
- openssh-server
- openssl
- python2.7
- python-apt
- rsync
- sudo
- systemd
- tar
- wget
_nspawn_cache_map:
distro: ubuntu
arch: "{{ nspawn_architecture_mapping.get(ansible_architecture) }}"
release: xenial
_nspawn_copy_from_host:
- /etc/apt/sources.list
- /etc/apt/apt.conf.d/
- /etc/apt/preferences.d/