Install cri-o with package version (#6853)

and thereby support upgrade from e.g. 1.18.x to 1.19.y

Included OSes:
- Centos7/8
- Ubuntu18/20

New variables for overriding by default installed packages:
- centos_crio_packages
- ubuntu_crio_packages
This commit is contained in:
Hans Feldt 2020-10-26 16:35:02 +01:00 committed by GitHub
parent 4b858b6466
commit d36b5d7d55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View file

@ -1,5 +1,5 @@
---
default_crio_packages:
- cri-o-1.19.0
crio_packages:
- cri-o
- oci-systemd-hook
crio_packages: "{{ centos_crio_packages | default(default_crio_packages) }}"

View file

@ -1,4 +1,5 @@
---
default_crio_packages:
- cri-o-1.19.0
crio_packages:
- cri-o
crio_packages: "{{ centos_crio_packages | default(default_crio_packages) }}"

View file

@ -1,8 +1,9 @@
---
default_crio_packages:
- "cri-o=1.19.0~0"
- "cri-o-runc=1.0.0-6"
crio_packages:
- "cri-o"
- "cri-o-runc"
crio_packages: "{{ ubuntu_crio_packages | default(default_crio_packages) }}"
# The crio_runtimes variable defines a list of OCI compatible runtimes.
crio_runtimes: