From 2d80d7f26774e137cc7ae579436da4620fd2a99d Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 9 Sep 2020 02:02:30 -0500 Subject: [PATCH] Perform pleroma upgrades AS the pleroma user --- roles/pleroma/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/pleroma/tasks/main.yml b/roles/pleroma/tasks/main.yml index fe6d830..adf28df 100644 --- a/roles/pleroma/tasks/main.yml +++ b/roles/pleroma/tasks/main.yml @@ -107,6 +107,8 @@ src: "/opt/pleroma/release.zip" remote_src: yes dest: "/opt/pleroma" + become: yes + become_user: pleroma - name: Remove old release file: path: "/opt/pleroma/{{ item }}"