1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

Merge pull request #77 from JensTimmerman/patch-4

alternative fix for #74
This commit is contained in:
L3D 2022-05-04 20:28:21 +02:00 committed by GitHub
commit 2f0a24f4f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: