Skip to content
Snippets Groups Projects
Unverified Commit fc8551bc authored by petruha's avatar petruha Committed by GitHub
Browse files

Run containerd related tasks on OracleLinux. (#7250)

parent c2c97c36
Branches
Tags
No related merge requests found
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
dest: "{{ yum_repo_dir }}/containerd.repo" dest: "{{ yum_repo_dir }}/containerd.repo"
when: ansible_distribution == "Fedora" when: ansible_distribution == "Fedora"
- name: Configure containerd repository on RedHat/CentOS - name: Configure containerd repository on RedHat/OracleLinux/CentOS
template: template:
src: "rh_containerd.repo.j2" src: "rh_containerd.repo.j2"
dest: "{{ yum_repo_dir }}/containerd.repo" dest: "{{ yum_repo_dir }}/containerd.repo"
when: ansible_distribution in ["CentOS","RedHat"] when: ansible_distribution in ["CentOS", "OracleLinux", "RedHat"]
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
fail: fail:
msg: "{{ ansible_distribution }} is not supported by containerd." msg: "{{ ansible_distribution }} is not supported by containerd."
when: 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 - name: gather os specific variables
include_vars: "{{ item }}" include_vars: "{{ item }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment