|
8 | 8 |
|
9 | 9 | - name: check if cri-o.tar.gz exists |
10 | 10 | stat: |
11 | | - path: /root/cri-o.tar.gz |
| 11 | + path: "/home/deadbeef/cri-o.tar.gz" |
12 | 12 | register: source_tar |
13 | 13 |
|
14 | 14 | - name: extract cri-o |
15 | 15 | unarchive: |
16 | | - src: /root/cri-o.tar.gz |
| 16 | + src: "/home/deadbeef/cri-o.tar.gz" |
17 | 17 | dest: "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
18 | 18 | when: source_tar.stat.exists |
19 | 19 |
|
|
24 | 24 |
|
25 | 25 | - name: copy vagrant source |
26 | 26 | synchronize: |
27 | | - dest: "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
| 27 | + dest: "/home/deadbeef/src/github.com/cri-o/cri-o" |
28 | 28 | src: /vagrant/ |
29 | 29 | when: (vagrant_dir.stat.isdir is defined) and (vagrant_dir.stat.isdir) |
30 | 30 |
|
31 | | -- name: extract cri-o |
32 | | - unarchive: |
33 | | - src: /root/cri-o.tar.gz |
34 | | - dest: "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
35 | | - when: source_tar.stat.exists |
36 | | - |
37 | | -- name: stat the expected cri-o directory |
38 | | - stat: |
39 | | - path: "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
40 | | - register: dir_stat |
41 | | - |
42 | 31 | ## Check for python executable |
43 | 32 |
|
44 | 33 | - name: see if the python executable or symlink is available |
|
57 | 46 | command: |
58 | 47 | cmd: git config --global --add safe.directory "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
59 | 48 |
|
60 | | -- name: expect cri-o to be cloned already |
61 | | - fail: |
62 | | - msg: "Expected cri-o to be cloned at {{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o but it wasn't!" |
63 | | - when: not dir_stat.stat.exists |
64 | | - |
65 | 49 | - name: build cri-o |
66 | 50 | make: |
67 | 51 | chdir: "{{ ansible_env.GOPATH }}/src/github.com/cri-o/cri-o" |
|
98 | 82 | [crio.runtime] |
99 | 83 | default_runtime = "crun" |
100 | 84 | [crio.runtime.runtimes.crun] |
| 85 | + runtime_root = "/run/crun" |
101 | 86 | when: "build_crun | default(False) | bool" |
102 | 87 |
|
103 | 88 | - name: use kata |
|
0 commit comments