mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 10:00:03 -03:30
Run containerd related tasks on OracleLinux. (#7250)
(cherry picked from commit fc8551bcba22f104dc8b5cc92ff5cbd7dcea3fa7)
This commit is contained in:
parent
960844d87b
commit
754a54adfc
@ -25,8 +25,8 @@
|
||||
dest: "{{ yum_repo_dir }}/containerd.repo"
|
||||
when: ansible_distribution == "Fedora"
|
||||
|
||||
- name: Configure containerd repository on RedHat/CentOS
|
||||
- name: Configure containerd repository on RedHat/OracleLinux/CentOS
|
||||
template:
|
||||
src: "rh_containerd.repo.j2"
|
||||
dest: "{{ yum_repo_dir }}/containerd.repo"
|
||||
when: ansible_distribution in ["CentOS","RedHat"]
|
||||
when: ansible_distribution in ["CentOS", "OracleLinux", "RedHat"]
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
fail:
|
||||
msg: "{{ ansible_distribution }} is not supported by containerd."
|
||||
when:
|
||||
- not ansible_distribution in ["CentOS","RedHat", "Ubuntu", "Debian", "Fedora"]
|
||||
- not ansible_distribution in ["CentOS", "OracleLinux", "RedHat", "Ubuntu", "Debian", "Fedora"]
|
||||
|
||||
- name: gather os specific variables
|
||||
include_vars: "{{ item }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user