
Kata packages for debian 11 are not currently available without involving Snap or source builds. As Kata is not essential to run Zun, installation is disabled, but deployments could install it themselves before switching 'zun_kata_enabled' back to True. Bullseye CI is disabled temporarily as kernel panics are encountered during tempest tests. This wastes a significant amount of CI time. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/819304 Change-Id: I90fc8304dc7c398fdfccba31173c86f0cbf0ea7e
55 lines
2.2 KiB
YAML
55 lines
2.2 KiB
YAML
---
|
|
# Copyright 2018, 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.
|
|
|
|
_zun_docker_package_version: "5:19.03.14~*"
|
|
_zun_containerd_package_version: "1.4.3-1"
|
|
_zun_kata_package_version: "{{ (ansible_facts['distribution_release'] | lower == 'focal') | ternary('1.12.0-2', '1.11.5-9') }}"
|
|
_zun_kata_enabled: True
|
|
|
|
zun_kata_repo_version: "{{ (ansible_facts['distribution_release'] | lower == 'focal') | ternary('stable-1.12', 'stable-1.11') }}"
|
|
zun_kata_repo_distro: "{{ (ansible_facts['distribution'] | lower == 'ubuntu') | ternary('x', '') }}{{ ansible_facts['distribution'] | capitalize }}"
|
|
|
|
zun_docker_repo:
|
|
- name: "docker-ce"
|
|
repo: "deb [arch=amd64] https://download.docker.com/linux/{{ ansible_facts['distribution'] | lower }} {{ ansible_facts['distribution_release'] | lower }} stable"
|
|
gpg_uri: "https://download.docker.com/linux/{{ ansible_facts['distribution'] | lower }}/gpg"
|
|
- name: "kata"
|
|
repo: "deb https://download.opensuse.org/repositories/home:/katacontainers:/releases:/{{ ansible_facts['architecture'] }}:/{{ zun_kata_repo_version }}/{{ zun_kata_repo_distro }}_{{ ansible_facts['distribution_version'] }}/ /"
|
|
gpg_uri: "https://download.opensuse.org/repositories/home:/katacontainers:/releases:/{{ ansible_facts['architecture'] }}:/{{ zun_kata_repo_version }}/{{ zun_kata_repo_distro }}_{{ ansible_facts['distribution_version'] }}/Release.key"
|
|
|
|
# Common apt packages
|
|
zun_distro_packages:
|
|
- ca-certificates
|
|
- curl
|
|
- git
|
|
- libsystemd-dev
|
|
- software-properties-common
|
|
|
|
zun_distro_compute_packages:
|
|
- containerd.io
|
|
- docker-ce-cli
|
|
- docker-ce
|
|
- pciutils
|
|
- numactl
|
|
- multipath-tools
|
|
- kata-runtime
|
|
- kata-proxy
|
|
- kata-shim
|
|
|
|
zun_docker_groupname: docker
|
|
|
|
## APT Cache options
|
|
cache_timeout: 600
|