c12s-kubespray/roles/container-engine/docker/vars/fedora.yml

29 lines
1.3 KiB
YAML
Raw Normal View History

2018-09-19 17:57:20 +00:00
---
docker_kernel_min_version: '0'
2020-07-31 06:31:07 +00:00
# TODO Remove the line below as soon as docker rpm are available for f32
fedora_distribution_package: "{{ '31' if (ansible_distribution_major_version | int) > 31 else ansible_distribution_major_version }}"
2018-09-19 17:57:20 +00:00
# https://docs.docker.com/install/linux/docker-ce/fedora/
2020-05-08 22:39:51 +00:00
# https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/
2018-09-19 17:57:20 +00:00
docker_versioned_pkg:
'latest': docker-ce
2020-07-31 06:31:07 +00:00
'18.03': docker-ce-18.03.1.ce-3.fc{{ fedora_distribution_package }}
'18.06': docker-ce-18.06.2.ce-3.fc{{ fedora_distribution_package }}
'18.09': docker-ce-18.09.7-3.fc{{ fedora_distribution_package }}
'19.03': docker-ce-19.03.12-3.fc{{ fedora_distribution_package }}
'stable': docker-ce-19.03.12-3.fc{{ fedora_distribution_package }}
'edge': docker-ce-19.03.12-3.fc{{ fedora_distribution_package }}
2018-09-19 17:57:20 +00:00
docker_cli_versioned_pkg:
'latest': docker-ce-cli
2020-07-31 06:31:07 +00:00
'18.09': docker-ce-cli-19.03.12-3.fc{{ fedora_distribution_package }}
'19.03': docker-ce-cli-19.03.12-3.fc{{ fedora_distribution_package }}
2018-09-19 17:57:20 +00:00
docker_package_info:
pkg_mgr: dnf
pkgs:
- name: "{{ containerd_versioned_pkg[containerd_version | string] }}"
- name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
- name: "{{ docker_versioned_pkg[docker_version | string] }}"