From 283d63a37a7962acda46d888118a8b126ef6adcf Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Mon, 1 May 2023 15:27:30 +0000 Subject: [PATCH] FQDN im Dateinamen --- handlers/backup.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: