From 857f04fca9b682fe54b7ec9b19c87014bc21f120 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Thu, 24 Apr 2025 11:14:44 +0200 Subject: [PATCH] minisforum.yaml aktualisiert --- minisforum.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/minisforum.yaml b/minisforum.yaml index 38a61b5..e2c1d74 100644 --- a/minisforum.yaml +++ b/minisforum.yaml @@ -53,7 +53,10 @@ label: "{{ item[1].name }}" - 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: # msg: # - '{{ item[1] }}' # Volume name