e160796d4e
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
21 lines
No EOL
531 B
YAML
21 lines
No EOL
531 B
YAML
---
|
|
- name: clone runc source repo
|
|
git:
|
|
repo: "https://github.com/opencontainers/runc.git"
|
|
dest: "{{ ansible_env.GOPATH }}/src/github.com/opencontainers/runc"
|
|
|
|
- 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
|
|
state: link |