pleroma/otp/tasks/install.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 24 Jul 2021 10:29:53 -0500
changeset 170 a20a6d03747f
parent 141 0708c9c075fc
permissions -rw-r--r--
Updated versions: minecraft, miniflux, pleroma, writefreely, ergo-oragono.

---

- 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