mirror of
https://github.com/geerlingguy/ansible-role-docker.git
synced 2024-11-18 19:10:43 +01:00
containerd install fix
This commit is contained in:
parent
5d6af00f20
commit
95fd1ef5d1
@ -36,8 +36,18 @@
|
|||||||
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
|
||||||
|
block:
|
||||||
|
- name: install container-selinux
|
||||||
package:
|
package:
|
||||||
name: https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.13-3.2.el7.x86_64.rpm
|
name: container-selinux
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: disable container-tools
|
||||||
|
command: dnf -y module disable container-tools
|
||||||
|
|
||||||
|
- name: install containerd
|
||||||
|
package:
|
||||||
|
name: containerd.io
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_major_version | int == 8
|
when: ansible_distribution_major_version | int == 8
|
||||||
|
Loading…
Reference in New Issue
Block a user