diff --git a/handlers/backup.yaml b/handlers/backup.yaml index e031bf8..8eee21b 100644 --- a/handlers/backup.yaml +++ b/handlers/backup.yaml @@ -20,7 +20,7 @@ - name: Backup Gitea Directory ansible.posix.synchronize: src: /opt/gitea/ - dest: "/var/backups/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}" + dest: "/var/backups/gitea-{{ gitea.hostname }}.{{ gitea.domain }}@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}" recursive: true delegate_to: "{{ inventory_hostname }}" listen: