pleroma/otp/tasks/soapbox.yaml
changeset 121 6b9694f833a4
child 172 21cfe5ba8d13
equal deleted inserted replaced
120:7b3b01948954 121:6b9694f833a4
       
     1 ---
       
     2 
       
     3 - name: download and unarchive soapbox frontend
       
     4   unarchive:
       
     5     src: "{{pleroma_soapbox_download_url}}"
       
     6     dest: "/tmp/"
       
     7     creates: "/tmp/static"
       
     8     remote_src: yes
       
     9 
       
    10 - name: install soapbox frontend
       
    11   become: yes
       
    12   copy:
       
    13     remote_src: true
       
    14     src: "/tmp/static/"
       
    15     dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/"
       
    16     owner: "pleroma"
       
    17     group: "pleroma"
       
    18     mode: "0755"
       
    19   changed_when: false
       
    20 
       
    21 - name: install soapbox config
       
    22   become: yes
       
    23   copy:
       
    24     src: "files/{{pleroma_link_host}}/soapbox.json"
       
    25     dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/instance/soapbox.json"
       
    26     owner: "pleroma"
       
    27     group: "pleroma"
       
    28     mode: "0755"
       
    29   changed_when: false