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
This commit is contained in:
Neven Miculinic 2019-08-22 12:54:31 +02:00 committed by Kubernetes Prow Robot
parent 07ecef86e3
commit f255ce3f02

View file

@ -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