diff --git a/inventory/hosts.yml b/inventory/hosts.yml index 41b8908..c36c450 100644 --- a/inventory/hosts.yml +++ b/inventory/hosts.yml @@ -42,6 +42,8 @@ all: web1.9iron.club: fedi1.9iron.club: web1.cowfee.moe: + vars: + backups_frequency: 4h # Gameservers of all sorts gameservers: vars: @@ -69,5 +71,3 @@ all: zone: cowfee.moe hosts: web1.cowfee.moe: - vars: - backups_frequency: 4h diff --git a/roles/pleroma/tasks/main.yml b/roles/pleroma/tasks/main.yml index 61bb977..acd6f7a 100644 --- a/roles/pleroma/tasks/main.yml +++ b/roles/pleroma/tasks/main.yml @@ -154,6 +154,8 @@ command: /opt/pleroma/bin/pleroma_ctl migrate args: chdir: /opt/pleroma + become: yes + become_user: pleroma changed_when: false - name: Start and enable service systemd: