Merge experimental nach main #3
@ -10,12 +10,11 @@
|
|||||||
- Ensure Gitea is running
|
- Ensure Gitea is running
|
||||||
|
|
||||||
- name: Backup Gitea Directory
|
- name: Backup Gitea Directory
|
||||||
ansible.builtin.copy:
|
ansible.builtin.synchronize:
|
||||||
src: /opt/gitea/
|
src: /opt/gitea/
|
||||||
dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
dest: "/opt/gitea.backup@{{ lookup('pipe', 'date --utc --iso-8601=seconds') }}"
|
||||||
mode: preserve
|
recursive: true
|
||||||
remote_src: true
|
delegate_to: "{{ inventory_hostname }}"
|
||||||
directory_mode: true
|
|
||||||
listen:
|
listen:
|
||||||
- Backup Gitea
|
- Backup Gitea
|
||||||
register: backup
|
register: backup
|
||||||
|
Loading…
Reference in New Issue
Block a user