contrib: use crun from the containers repository
and use a fixed version
- name: clone crun source repo
git:
- repo: "https://github.com/giuseppe/crun.git"
- dest: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun"
+ repo: "https://github.com/containers/crun.git"
+ dest: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun"
force: "{{ force_clone | default(False) | bool}}"
+ version: 0.10.6
- name: Install crun dependencies
raw: >
libtool
- name: Run autogen.sh
- command: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun/autogen.sh"
+ command: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun/autogen.sh"
args:
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun"
+ chdir: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun"
- name: Run configure
- command: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun/configure"
+ command: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun/configure"
args:
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun"
+ chdir: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun"
- name: build crun
make:
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun"
+ chdir: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun"
- name: install crun
make:
target: "install"
- chdir: "{{ ansible_env.GOPATH }}/src/github.com/giuseppe/crun"
+ chdir: "{{ ansible_env.GOPATH }}/src/github.com/containers/crun"
- name: remove old runc binary
file:
