Backup nach /var/backups
This commit is contained in:
parent
657b771790
commit
b5986b9592
@ -20,7 +20,7 @@
|
||||
- name: Backup Gitea Directory
|
||||
ansible.posix.synchronize:
|
||||
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
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
listen:
|
||||
|
Loading…
Reference in New Issue
Block a user