Skip to content

Commit

Permalink
fix: (IAC-1247) Add OS Guardrail to containerd.io Task (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarpat authored Jan 3, 2024
1 parent 4fbd334 commit ed0e56f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/kubernetes/cri/containerd/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
- name: Set containerd.io package debian revision if not specified
set_fact:
kubernetes_cri_deb_rev: "-*"
when: kubernetes_cri_version | regex_search("^(\d+\.)(\d+\.)(\d+)$")
when:
- ansible_distribution == "Ubuntu" and (ansible_distribution_version == "20.04" or ansible_distribution_version == "22.04")
- kubernetes_cri_version | regex_search("^(\d+\.)(\d+\.)(\d+)$")
tags:
- install
- update
Expand Down

0 comments on commit ed0e56f

Please sign in to comment.