Browse Source

Added CRI-O support for ubuntu (#4629)

* Added CRI-O support for ubuntu

* implemented feedback

* set crictl to fixed version

* Fix errors during rebasing

* Fix linting errors
pull/5035/head
Neven Miculinic 5 years ago
committed by Kubernetes Prow Robot
parent
commit
f255ce3f02
1 changed files with 13 additions and 0 deletions
  1. 13
      roles/container-engine/cri-o/tasks/main.yaml

13
roles/container-engine/cri-o/tasks/main.yaml

@ -30,6 +30,19 @@
state: present
when: ansible_distribution in ["Ubuntu"]
- name: Add CRI-O PPA
apt_repository:
repo: ppa:projectatomic/ppa
state: present
when: ansible_distribution in ["Ubuntu"]
- name: Install crictl
unarchive:
src: "{{ local_release_dir }}/crictl-{{ crictl_version }}-linux-{{ image_arch }}.tar.gz"
dest: "/usr/local/bin"
mode: 0755
remote_src: yes
- name: Make sure needed folders exist in the system
with_items:
- /etc/crio

Loading…
Cancel
Save