kubernetes-clustergcekubernetesbare-metalk8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansible
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
608 B
26 lines
608 B
---
|
|
- name: crictl | Download crictl
|
|
include_tasks: "../../../download/tasks/download_file.yml"
|
|
vars:
|
|
download: "{{ download_defaults | combine(downloads.crictl) }}"
|
|
|
|
- name: Install crictl config
|
|
template:
|
|
src: crictl.yaml.j2
|
|
dest: /etc/crictl.yaml
|
|
owner: root
|
|
mode: 0644
|
|
|
|
- name: Copy crictl binary from download dir
|
|
copy:
|
|
src: "{{ local_release_dir }}/crictl"
|
|
dest: "{{ bin_dir }}/crictl"
|
|
mode: 0755
|
|
remote_src: true
|
|
notify:
|
|
- Get crictl completion
|
|
- Install crictl completion
|
|
|
|
- name: Set fact crictl_installed
|
|
set_fact:
|
|
crictl_installed: true
|