diff -r 7b3b01948954 -r 6b9694f833a4 pleroma/otp/tasks/soapbox.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pleroma/otp/tasks/soapbox.yaml Wed Jul 08 15:46:28 2020 -0500 @@ -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