Browse Source

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"}
```
pull/5911/head
chz8494 5 years ago
committed by GitHub
parent
commit
941aaf93fd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions
  1. 9
      roles/container-engine/cri-o/tasks/main.yaml

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

@ -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…
Cancel
Save