From cb95a7a1b5600dbed38a96df3ee7cab2cae55dc6 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 May 2024 10:27:15 +0200 Subject: [PATCH] bitwarden --- playbooks/restore_docker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/restore_docker.yml b/playbooks/restore_docker.yml index 0c9ee80..4c31ecb 100644 --- a/playbooks/restore_docker.yml +++ b/playbooks/restore_docker.yml @@ -2,6 +2,10 @@ name: Restore docker ignore_unreachable: false tasks: + - name: Stop running containers + docker_container: + name: rancher-rancher-1 + state: stopped - 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 .' when: inventory_hostname in groups['nas'] \ No newline at end of file