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 errorspull/5035/head
parent
07ecef86e3
commit
f255ce3f02
|
@ -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…
Reference in New Issue