Backup nach /var/backups

This commit is contained in:
Marius Alwan Meyer 2023-05-01 15:25:07 +00:00
parent 657b771790
commit b5986b9592

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: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}" dest: "/var/backups/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
recursive: true recursive: true
delegate_to: "{{ inventory_hostname }}" delegate_to: "{{ inventory_hostname }}"
listen: listen: