remove duplicate ppa step and replace with circtl package download (#5455)
fix error that crictl package not downloaded before install. ``` TASK [container-engine/cri-o : Install crictl] ********************************* fatal: [more-crab]: FAILED! => {"changed": false, "msg": "Source '/tmp/releases/crictl-v1.16.1-linux-amd64.tar.gz' does not exist"} ```
This commit is contained in:
parent
68b3ee8ac1
commit
941aaf93fd
|
@ -30,11 +30,10 @@
|
|||
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: crictl | Download crictl
|
||||
include_tasks: "../../../download/tasks/download_file.yml"
|
||||
vars:
|
||||
download: "{{ download_defaults | combine(downloads.crictl) }}"
|
||||
|
||||
- name: Install crictl
|
||||
unarchive:
|
||||
|
|
Loading…
Reference in a new issue