From f9e4ebd7931d644b199a9fd9659600239bef5ab6 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 May 2024 11:10:53 +0200 Subject: [PATCH] bitwarden --- playbooks/restore_docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/restore_docker.yml b/playbooks/restore_docker.yml index f25c8c3..a59a50d 100644 --- a/playbooks/restore_docker.yml +++ b/playbooks/restore_docker.yml @@ -5,7 +5,7 @@ - name: Stop running containers ansible.builtin.shell: for i in `/share/ZFS530_DATA/.qpkg/container-station/bin/docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' `; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker stop $i;done - 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/{{ date }}/{{ app }} /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/{{ resdate }}/{{ app }} /share/docker_data/' when: inventory_hostname in groups['nas'] - name: Start running containers ansible.builtin.shell: for i in `/share/ZFS530_DATA/.qpkg/container-station/bin/docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' `; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker start $i;done \ No newline at end of file