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 runc source repo
|
|
|
|
git:
|
|
|
|
repo: "https://github.com/opencontainers/runc.git"
|
|
|
|
dest: "{{ ansible_env.GOPATH }}/src/github.com/opencontainers/runc"
|
2017-10-16 12:50:13 +00:00
|
|
|
version: "84a082bfef6f932de921437815355186db37aeb1"
|
2017-09-19 22:50:37 +00:00
|
|
|
|
|
|
|
- name: build runc
|
|
|
|
make:
|
|
|
|
params: BUILDTAGS="seccomp selinux"
|
|
|
|
chdir: "{{ ansible_env.GOPATH }}/src/github.com/opencontainers/runc"
|
|
|
|
|
|
|
|
- name: install runc
|
|
|
|
make:
|
|
|
|
target: "install"
|
|
|
|
chdir: "{{ ansible_env.GOPATH }}/src/github.com/opencontainers/runc"
|
|
|
|
|
|
|
|
- name: link runc
|
|
|
|
file:
|
|
|
|
src: /usr/local/sbin/runc
|
|
|
|
dest: /usr/bin/runc
|
2017-09-26 11:27:18 +00:00
|
|
|
state: link
|