summaryrefslogtreecommitdiffstats
path: root/tests/roles/github-runc/tasks/main.yml
blob: 1752a245c8898b048c7a23b2b2b20b7a002620c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- 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