This commit is contained in:
parent
5ddbac3d06
commit
3170b35464
1 changed files with 4 additions and 3 deletions
|
|
@ -21,7 +21,8 @@
|
||||||
- br_netfilter
|
- br_netfilter
|
||||||
- overlay
|
- overlay
|
||||||
|
|
||||||
- sysctl:
|
- name: Configure sysctl
|
||||||
|
sysctl:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
value: "1"
|
value: "1"
|
||||||
sysctl_file: /etc/sysctl.d/99-kubernetes-cri.conf
|
sysctl_file: /etc/sysctl.d/99-kubernetes-cri.conf
|
||||||
|
|
@ -34,7 +35,7 @@
|
||||||
- name: Install dnf-plugins-core package
|
- name: Install dnf-plugins-core package
|
||||||
package:
|
package:
|
||||||
name: dnf-plugins-core
|
name: dnf-plugins-core
|
||||||
state: latest
|
state: present
|
||||||
- name: Add container-selinux repository
|
- name: Add container-selinux repository
|
||||||
command:
|
command:
|
||||||
cmd: dnf -y copr enable rhcontainerbot/container-selinux
|
cmd: dnf -y copr enable rhcontainerbot/container-selinux
|
||||||
|
|
@ -76,7 +77,7 @@
|
||||||
- name: Install cri-o package
|
- name: Install cri-o package
|
||||||
package:
|
package:
|
||||||
name: "{{ crio_package_name }}"
|
name: "{{ crio_package_name }}"
|
||||||
state: latest
|
state: present
|
||||||
notify: Restart cri-o
|
notify: Restart cri-o
|
||||||
|
|
||||||
- name: Ensuring /etc/crio/crio.conf.d folder exists
|
- name: Ensuring /etc/crio/crio.conf.d folder exists
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue