pleroma/otp/tasks/install.yaml
author Luke Hoersten <luke@hoersten.org>
Mon, 16 Nov 2020 16:42:59 -0600
changeset 143 7d4a477be685
parent 141 0708c9c075fc
permissions -rw-r--r--
Updated pleroma to 2.2.0 and added new dep.

---

- name: download and unarchive pleroma release
  become: yes
  unarchive:
    src: "{{pleroma_download_url}}"
    dest: "/tmp/"
    remote_src: yes

- name: delete old pleroma release
  become: yes
  file:
    path: "/opt/pleroma/"
    state: "absent"

- name: install pleroma release
  become: yes
  copy:
    remote_src: true
    src: "/tmp/release/"
    dest: "/opt/pleroma/"
    owner: "pleroma"
    group: "pleroma"
  notify: restart all pleroma instances