pleroma/otp/tasks/install.yaml
changeset 141 0708c9c075fc
equal deleted inserted replaced
140:f0da6c40158e 141:0708c9c075fc
       
     1 ---
       
     2 
       
     3 - name: download and unarchive pleroma release
       
     4   become: yes
       
     5   unarchive:
       
     6     src: "{{pleroma_download_url}}"
       
     7     dest: "/tmp/"
       
     8     remote_src: yes
       
     9 
       
    10 - name: delete old pleroma release
       
    11   become: yes
       
    12   file:
       
    13     path: "/opt/pleroma/"
       
    14     state: "absent"
       
    15 
       
    16 - name: install pleroma release
       
    17   become: yes
       
    18   copy:
       
    19     remote_src: true
       
    20     src: "/tmp/release/"
       
    21     dest: "/opt/pleroma/"
       
    22     owner: "pleroma"
       
    23     group: "pleroma"
       
    24   notify: restart all pleroma instances