move data to /var/lib/gitea
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 25s

This commit is contained in:
Marius Meyer
2024-06-03 14:02:44 +02:00
parent 306d2eebbe
commit c28214c517
3 changed files with 10 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
- name: Backup Gitea directory
community.general.archive:
path: /opt/gitea/
path: /var/lib/gitea/
dest: "/var/backups/gitea-{{ gitea.hostname }}.{{ gitea.domain }}@{{ lookup('pipe', 'date -u +%Y-%m-%dT%H:%M:%SZ') }}.tar.gz"
force_archive: true
format: gz