Behalte File-Ownership beim kopieren
This commit is contained in:
parent
124456ae07
commit
d8a29adb56
@ -10,12 +10,11 @@
|
||||
- Ensure Gitea is running
|
||||
|
||||
- name: Backup Gitea Directory
|
||||
ansible.builtin.copy:
|
||||
ansible.builtin.synchronize:
|
||||
src: /opt/gitea/
|
||||
dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
||||
mode: preserve
|
||||
remote_src: true
|
||||
directory_mode: true
|
||||
recursive: true
|
||||
delegate_to: "{{ inventory_hostname }}"
|
||||
listen:
|
||||
- Backup Gitea
|
||||
register: backup
|
||||
|
Loading…
Reference in New Issue
Block a user