Backup nach /var/backups
This commit is contained in:
parent
657b771790
commit
b5986b9592
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user