2017-09-19 22:50:37 +00:00
|
|
|
---
|
2017-09-26 11:27:18 +00:00
|
|
|
|
2017-09-19 22:50:37 +00:00
|
|
|
- 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"
|
2017-11-11 11:05:36 +00:00
|
|
|
version: "b42fc3f364dd48f649d55926c34492beeb9b2e99"
|
2017-11-20 11:25:35 +00:00
|
|
|
version: "{{ cri_tools_git_version }}"
|
|
|
|
force: "{{ force_clone | default(False) | bool}}"
|
2017-09-19 22:50:37 +00:00
|
|
|
|
|
|
|
- name: install crictl
|
2017-09-29 18:49:12 +00:00
|
|
|
command: "/usr/bin/go install github.com/kubernetes-incubator/cri-tools/cmd/crictl"
|
2017-09-19 22:50:37 +00:00
|
|
|
|
2017-11-20 11:25:35 +00:00
|
|
|
- name: install critest
|
|
|
|
command: "/usr/bin/go install github.com/kubernetes-incubator/cri-tools/cmd/critest"
|
|
|
|
|
2017-09-19 22:50:37 +00:00
|
|
|
- name: link crictl
|
|
|
|
file:
|
|
|
|
src: "{{ ansible_env.GOPATH }}/bin/crictl"
|
|
|
|
dest: /usr/bin/crictl
|
2017-09-26 11:27:18 +00:00
|
|
|
state: link
|
2017-11-20 11:25:35 +00:00
|
|
|
|
|
|
|
- name: link critest
|
|
|
|
file:
|
|
|
|
src: "{{ ansible_env.GOPATH }}/bin/critest"
|
|
|
|
dest: /usr/bin/critest
|
|
|
|
state: link
|