author | Luke Hoersten <luke@hoersten.org> |
Fri, 21 Jul 2023 15:14:24 -0500 | |
changeset 215 | dd52907adff9 |
parent 212 | dendrite/server/tasks/main.yaml@afd4595fe1af |
child 216 | 6c85835d4621 |
permissions | -rw-r--r-- |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
1 |
--- |
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
2 |
|
163 | 3 |
- name: snap install golang |
4 |
become: yes |
|
5 |
snap: name="go" classic="yes" |
|
6 |
||
7 |
- name: unarchive dendrite |
|
17 | 8 |
unarchive: |
9 |
remote_src: yes |
|
163 | 10 |
src: "{{dendrite_tar}}" |
17 | 11 |
dest: "/tmp/" |
163 | 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 |