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:
parent
07ecef86e3
commit
f255ce3f02
1 changed files with 13 additions and 0 deletions
|
@ -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 a new issue