From fba0abac30545ac9b3bd128a2602735acf747e46 Mon Sep 17 00:00:00 2001 From: Jens Timmerman Date: Tue, 3 May 2022 12:15:24 +0200 Subject: [PATCH] alternative fix for #74 specify full gitea path --- tasks/backup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/backup.yml b/tasks/backup.yml index c12a22f..01e0a74 100644 --- a/tasks/backup.yml +++ b/tasks/backup.yml @@ -24,7 +24,7 @@ - name: Backing up gitea before upgrade become: true ansible.builtin.command: - cmd: "sudo -u {{ gitea_user }} gitea dump -c /etc/gitea/gitea.ini" + cmd: "sudo -u {{ gitea_user }} /usr/local/bin/gitea dump -c /etc/gitea/gitea.ini" chdir: "{{ gitea_backup_location }}" changed_when: true when: