From 797ba4dc4d609489781b56c44d7bfb867cdb09fc Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 May 2024 10:09:11 +0200 Subject: [PATCH] bitwarden --- playbooks/restore_docker.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 playbooks/restore_docker.yml diff --git a/playbooks/restore_docker.yml b/playbooks/restore_docker.yml new file mode 100644 index 0000000..0c9ee80 --- /dev/null +++ b/playbooks/restore_docker.yml @@ -0,0 +1,7 @@ +- hosts: nas + name: Restore docker + ignore_unreachable: false + tasks: + - 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