equal
deleted
inserted
replaced
|
1 --- |
|
2 |
|
3 - name: snap install golang |
|
4 become: yes |
|
5 snap: name="go" classic="yes" |
|
6 |
|
7 - name: unarchive dendrite |
|
8 unarchive: |
|
9 remote_src: yes |
|
10 src: "{{dendrite_tar}}" |
|
11 dest: "/tmp/" |
|
12 creates: "{{dendrite_build_dir}}" |
|
13 |
|
14 - name: check if dendrite build exists |
|
15 stat: |
|
16 path: "{{dendrite_build_dir}}/bin" |
|
17 register: build_file |
|
18 |
|
19 - name: build dendrite |
|
20 command: "{{dendrite_build_dir}}/build.sh" |
|
21 args: |
|
22 chdir: "{{dendrite_build_dir}}" |
|
23 when: not build_file.stat.exists |