[Add backup full gitea + docker]
This commit is contained in:
@@ -146,6 +146,7 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ item.path }}"
|
src: "{{ item.path }}"
|
||||||
dest: "{{ dockerapps_path }}/backup/gitea/{{ item.path.split('/')[-1]}}"
|
dest: "{{ dockerapps_path }}/backup/gitea/{{ item.path.split('/')[-1]}}"
|
||||||
|
remote_src: true
|
||||||
loop: "{{ result_gitea_conf.files }}"
|
loop: "{{ result_gitea_conf.files }}"
|
||||||
# owner: foo
|
# owner: foo
|
||||||
# group: foo
|
# group: foo
|
||||||
@@ -170,7 +171,7 @@
|
|||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ dockerapps_path }}{{ gitea_db }}"
|
src: "{{ dockerapps_path }}{{ gitea_db }}"
|
||||||
dest: "{{ dockerapps_path }}/backup/gitea/{{ gitea_db.split('/')[-1] }}"
|
dest: "{{ dockerapps_path }}/backup/gitea/{{ gitea_db.split('/')[-1] }}"
|
||||||
|
remote_src: true
|
||||||
|
|
||||||
# curl -u "$username:$password" -H "Title: HTTPS Certificats" -H "ta:closed_lock_with_key" -d "*.jingoh.fr Less than 20 days" https://alert.jingoh.fr/scaleway
|
# curl -u "$username:$password" -H "Title: HTTPS Certificats" -H "ta:closed_lock_with_key" -d "*.jingoh.fr Less than 20 days" https://alert.jingoh.fr/scaleway
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user