pleroma/otp/tasks/main.yaml
changeset 121 6b9694f833a4
parent 120 7b3b01948954
child 122 cde9702e3bff
equal deleted inserted replaced
120:7b3b01948954 121:6b9694f833a4
    75     dest: "/opt/pleroma/"
    75     dest: "/opt/pleroma/"
    76     owner: "pleroma"
    76     owner: "pleroma"
    77     group: "pleroma"
    77     group: "pleroma"
    78   changed_when: false
    78   changed_when: false
    79 
    79 
    80 - name: download and unarchive soapbox frontend
    80 - name: install soapbox frontend
    81   unarchive:
    81   include_tasks: soapbox.yaml
    82     src: "{{pleroma_soapbox_download_url}}"
       
    83     dest: "/tmp/"
       
    84     creates: "/tmp/static"
       
    85     remote_src: yes
       
    86   when: pleroma_soapbox
    82   when: pleroma_soapbox
    87 
       
    88 - name: install soapbox frontend
       
    89   become: yes
       
    90   copy:
       
    91     remote_src: true
       
    92     src: "/tmp/static/"
       
    93     dest: "{{pleroma_data_dir}}/{{pleroma_instance}}/static/"
       
    94     owner: "pleroma"
       
    95     group: "pleroma"
       
    96     mode: "0755"
       
    97   when: pleroma_soapbox
       
    98   changed_when: false
       
    99 
    83 
   100 - name: configure pleroma systemd service
    84 - name: configure pleroma systemd service
   101   become: yes
    85   become: yes
   102   copy:
    86   copy:
   103     src: "[email protected]"
    87     src: "[email protected]"