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

alternative fix for #74

specify full gitea path
This commit is contained in:
Jens Timmerman 2022-05-03 12:15:24 +02:00 committed by GitHub
parent 1a2b80cb22
commit fba0abac30
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 - name: Backing up gitea before upgrade
become: true become: true
ansible.builtin.command: 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 }}" chdir: "{{ gitea_backup_location }}"
changed_when: true changed_when: true
when: when: