Perform pleroma upgrades AS the pleroma user

This commit is contained in:
Salt 2020-09-09 02:02:30 -05:00
parent 46c879d6b0
commit 2d80d7f267

View File

@ -107,6 +107,8 @@
src: "/opt/pleroma/release.zip" src: "/opt/pleroma/release.zip"
remote_src: yes remote_src: yes
dest: "/opt/pleroma" dest: "/opt/pleroma"
become: yes
become_user: pleroma
- name: Remove old release - name: Remove old release
file: file:
path: "/opt/pleroma/{{ item }}" path: "/opt/pleroma/{{ item }}"