diff options
| author | Luke Hoersten <[email protected]> | 2020-07-08 15:46:28 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-07-08 15:46:28 -0500 |
| commit | 481b89f5d7969517d5dff6285695e6c9d3e39a4c (patch) | |
| tree | fce2495a55d826f1ebb1843380ac865706a3c925 /pleroma/otp/tasks/soapbox.yaml | |
| parent | e9fe43e807409fdfb563c306fdf6ea1a8d058472 (diff) | |
Added conditional soapbox config.
Diffstat (limited to 'pleroma/otp/tasks/soapbox.yaml')
| -rw-r--r-- | pleroma/otp/tasks/soapbox.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pleroma/otp/tasks/soapbox.yaml b/pleroma/otp/tasks/soapbox.yaml new file mode 100644 index 0000000..5526a9a --- /dev/null +++ b/pleroma/otp/tasks/soapbox.yaml @@ -0,0 +1,29 @@ +--- + +- name: download and unarchive soapbox frontend + unarchive: + src: "{{pleroma_soapbox_download_url}}" + dest: "/tmp/" + creates: "/tmp/static" + remote_src: yes + +- name: install soapbox frontend + become: yes + copy: + remote_src: true + src: "/tmp/static/" + dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/" + owner: "pleroma" + group: "pleroma" + mode: "0755" + changed_when: false + +- name: install soapbox config + become: yes + copy: + src: "files/{{pleroma_link_host}}/soapbox.json" + dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/instance/soapbox.json" + owner: "pleroma" + group: "pleroma" + mode: "0755" + changed_when: false |
