17 lines
480 B
YAML
17 lines
480 B
YAML
|
---
|
||
|
- name: pull latest runc source from github
|
||
|
git:
|
||
|
repo: https://github.com/opencontainers/runc
|
||
|
dest: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||
|
|
||
|
- name: building runc for buildah runtime
|
||
|
command: make
|
||
|
args:
|
||
|
chdir: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc"
|
||
|
|
||
|
- name: copy runc to /usr/bin
|
||
|
copy:
|
||
|
remote_src: True
|
||
|
src: "{{ ansible_env.HOME }}/go/src/github.com/opencontainers/runc/runc"
|
||
|
dest: /usr/bin/runc
|