493a72bbc9
It's unsightly and hard to maintain collections of references and long lists across multiple playbooks/include files. Centralize them all in ``vars.yml``, then include that in all plays. Minor: Update all files with a newline at the start and end. Signed-off-by: Chris Evich <cevich@redhat.com>
22 lines
533 B
YAML
22 lines
533 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
|