23 lines
589 B
YAML
23 lines
589 B
YAML
---
|
|
|
|
- name: clone runc source repo
|
|
git:
|
|
repo: "https://github.com/opencontainers/runc.git"
|
|
dest: "{{ ansible_env.GOPATH }}/src/github.com/opencontainers/runc"
|
|
version: "ce80fa0a64803d52883955cb77b2708b438a0b28"
|
|
|
|
- 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
|