minisforum.yaml aktualisiert
This commit is contained in:
@@ -54,6 +54,9 @@
|
|||||||
|
|
||||||
- name: Create backup of volume and store to backup directory
|
- name: Create backup of volume and store to backup directory
|
||||||
shell: tar cfz {{ backup_location }}{{ item[0].name }}/{{ item[1] }}.tar.gz -C /var/lib/docker/volumes/{{ item[1] }}/ _data
|
shell: tar cfz {{ backup_location }}{{ item[0].name }}/{{ item[1] }}.tar.gz -C /var/lib/docker/volumes/{{ item[1] }}/ _data
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
become_user: root
|
||||||
#ansible.builtin.debug:
|
#ansible.builtin.debug:
|
||||||
# msg:
|
# msg:
|
||||||
# - '{{ item[1] }}' # Volume name
|
# - '{{ item[1] }}' # Volume name
|
||||||
|
|||||||
Reference in New Issue
Block a user