openstack-ansible-nspawn_hosts/vars/suse-42.yml

70 lines
1.9 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: null
_nspawn_hosts_container_image_download_legacy: true
_nspawn_hosts_distro_packages:
- apparmor-parser
- apparmor-profiles
- apparmor-utils
- bridge-utils
- btrfsprogs
- dbus-1
- dnsmasq
- git-core
- libseccomp2
- xz
_nspawn_container_distro_packages:
- ca-certificates
- ca-certificates-cacert
- ca-certificates-mozilla
- cronie
- dbus-1
- gcc
- iproute2
- iputils
- libpython2_7-1_0
- openssh
- openssl
- python
- python-devel
- python-xml
- rsync
- sudo
- systemd
- tar
- timezone
- wget
- which
_nspawn_cache_map:
distro: opensuse
arch: "{{ nspawn_architecture_mapping.get(ansible_architecture) }}"
release: "{{ hostvars[physical_host]['ansible_distribution_version'] }}"
_nspawn_copy_from_host:
- /etc/zypp/repos.d/repo-oss.repo
- /etc/zypp/repos.d/repo-update.repo
## Set default mirror for openSUSE repositories
# NOTE(hwoarang): Ensure that the full path to the 'opensuse' directory is used.
# Additionally, set 'nspawn_hosts_opensuse_mirror_obs_url' to a mirror which also mirrors
# the OBS repositories. If you want to use the same mirror in both cases, then leave the
# 'nspawn_hosts_opensuse_mirror_obs_url' to its default value.
nspawn_hosts_opensuse_mirror_url: 'http://download.opensuse.org'
nspawn_hosts_opensuse_mirror_obs_url: "{{ nspawn_hosts_opensuse_mirror_url }}"