Only stop Pleroma if there's an outstanding update
whups
This commit is contained in:
parent
e530ab7cef
commit
15041c5079
@ -73,10 +73,6 @@
|
||||
website_url: "{{ pleroma_url }}"
|
||||
- name: Install Pleroma
|
||||
block:
|
||||
- name: Disable service
|
||||
systemd:
|
||||
name: pleroma
|
||||
state: stopped
|
||||
- name: Get latest release zip
|
||||
get_url:
|
||||
url: "https://git.pleroma.social/api/v4/projects/2/jobs/artifacts/stable/download?job={{ pleroma_arch }}"
|
||||
@ -93,6 +89,10 @@
|
||||
- { src: "recover.sh", dest: "recover.sh", mode: "0755" }
|
||||
- name: Install Pleroma
|
||||
block:
|
||||
- name: Disable service
|
||||
systemd:
|
||||
name: pleroma
|
||||
state: stopped
|
||||
- name: Unzip release
|
||||
unarchive:
|
||||
src: "/opt/pleroma/release.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user