FQDN im Dateinamen

This commit is contained in:
Marius Alwan Meyer 2023-05-01 15:27:30 +00:00
parent b5986b9592
commit 283d63a37a

View File

@ -20,7 +20,7 @@
- name: Backup Gitea Directory - name: Backup Gitea Directory
ansible.posix.synchronize: ansible.posix.synchronize:
src: /opt/gitea/ 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 recursive: true
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
listen: listen: