Merge pull request #224 from truestory1/master

containerd install fix for rhel8
This commit is contained in:
Jeff Geerling 2020-09-28 10:47:17 -05:00 committed by GitHub
commit b2f9da33f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,8 +36,19 @@
value: '{{ docker_yum_repo_enable_test }}' value: '{{ docker_yum_repo_enable_test }}'
mode: 0644 mode: 0644
- name: Install containerd separately (CentOS 8). - name: centos 8 - containerd and dependencies
package: block:
name: https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.13-3.2.el7.x86_64.rpm - name: install container-selinux
state: present package:
name: container-selinux
state: present
- name: disable container-tools
command: dnf -y module disable container-tools
changed_when: false
- name: install containerd
package:
name: containerd.io
state: present
when: ansible_distribution_major_version | int == 8 when: ansible_distribution_major_version | int == 8