4cf4137be0
This is for ttps://github.com/kubernetes/kubernetes/pull/55922 Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
26 lines
755 B
YAML
26 lines
755 B
YAML
---
|
|
|
|
- name: clone cri-tools source repo
|
|
git:
|
|
repo: "https://github.com/kubernetes-incubator/cri-tools.git"
|
|
dest: "{{ ansible_env.GOPATH }}/src/github.com/kubernetes-incubator/cri-tools"
|
|
version: "{{ cri_tools_git_version }}"
|
|
force: "{{ force_clone | default(False) | bool}}"
|
|
|
|
- name: install crictl
|
|
command: "/usr/bin/go install github.com/kubernetes-incubator/cri-tools/cmd/crictl"
|
|
|
|
- name: install critest
|
|
command: "/usr/bin/go install github.com/kubernetes-incubator/cri-tools/cmd/critest"
|
|
|
|
- name: link crictl
|
|
file:
|
|
src: "{{ ansible_env.GOPATH }}/bin/crictl"
|
|
dest: /usr/bin/crictl
|
|
state: link
|
|
|
|
- name: link critest
|
|
file:
|
|
src: "{{ ansible_env.GOPATH }}/bin/critest"
|
|
dest: /usr/bin/critest
|
|
state: link
|