Compare commits

...

2 Commits

Author SHA1 Message Date
5171a308be gitea backup: fix wrong dump cleanup path 2024-04-09 16:39:10 -05:00
2686eddf88 fix gitea backup 2024-04-09 16:32:01 -05:00

View File

@ -17,7 +17,7 @@
- name: Dump Gitea - name: Dump Gitea
shell: shell:
cmd: gitea dump -c /etc/gitea/app.ini --work-path=/etc/gitea --file=gitea-dump.zip --tempdir=/etc/gitea/temp cmd: gitea dump -c /etc/gitea/gitea.ini --work-path=/etc/gitea --file=gitea-dump.zip --tempdir=/etc/gitea/temp
chdir: /etc/gitea chdir: /etc/gitea
become: true become: true
become_method: su become_method: su
@ -33,7 +33,7 @@
- name: Remove remote dump - name: Remove remote dump
file: file:
path: "{{ giteaBackup }}" path: /etc/gitea/gitea-dump.zip
state: absent state: absent
tags: backup tags: backup