Added basic setup for master and certification material
This commit is contained in:
35
install_crio.yml
Normal file
35
install_crio.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
- name: Add keyring of CRI-O repo
|
||||
apt_key:
|
||||
url: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o/Debian_11/Release.key
|
||||
state: present
|
||||
|
||||
- name: Add keyring of CRI-O repo
|
||||
apt_key:
|
||||
url: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.22/Debian_11/Release.key
|
||||
state: present
|
||||
|
||||
- name: Add CRI-O Repo
|
||||
apt_repository:
|
||||
repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_11/ /"
|
||||
state: present
|
||||
filename: "devel:kubic:libcontainers:stable.list"
|
||||
|
||||
- name: Add CRI-O Repo
|
||||
apt_repository:
|
||||
repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.22/Debian_11/ /"
|
||||
state: present
|
||||
filename: "devel:kubic:libcontainers:stable:cri-o:Debian_11.list"
|
||||
|
||||
- name: Install CRI-O
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
update_cache: true
|
||||
loop:
|
||||
- cri-o
|
||||
- cri-o-runc
|
||||
|
||||
- name: Enable CRI-O Service
|
||||
systemd:
|
||||
name: crio
|
||||
state: started
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user