From 2841698073d5dbbaf85cacc38723e1f95a7bbb45 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 May 2024 10:45:56 +0200 Subject: [PATCH] bitwarden --- playbooks/restore_docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/restore_docker.yml b/playbooks/restore_docker.yml index 93e0add..defcc74 100644 --- a/playbooks/restore_docker.yml +++ b/playbooks/restore_docker.yml @@ -3,7 +3,7 @@ ignore_unreachable: false tasks: - name: Stop running containers - ansible.builtin.shell: /share/ZFS530_DATA/.qpkg/container-station/bin/docker stop rancher-rancher-1 + ansible.builtin.shell: /share/ZFS530_DATA/.qpkg/container-station/bin/docker stop {{ container_name }} - name: Restore folder - ansible.builtin.shell: 'rsync -arv root@192.168.77.189:/srv/dev-disk-by-uuid-02fbe97a-cd9a-4511-8bd5-21f8516353ee/docker_data/latest/rancher /share/docker_data/' + ansible.builtin.shell: 'rsync -arv root@192.168.77.189:/srv/dev-disk-by-uuid-02fbe97a-cd9a-4511-8bd5-21f8516353ee/docker_data/latest/{{ app }} /share/docker_data/' when: inventory_hostname in groups['nas'] \ No newline at end of file