mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
58a4777ca8
commit
cb95a7a1b5
@ -2,6 +2,10 @@
|
|||||||
name: Restore docker
|
name: Restore docker
|
||||||
ignore_unreachable: false
|
ignore_unreachable: false
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Stop running containers
|
||||||
|
docker_container:
|
||||||
|
name: rancher-rancher-1
|
||||||
|
state: stopped
|
||||||
- name: Restore folder
|
- 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 .'
|
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']
|
when: inventory_hostname in groups['nas']
|
Loading…
x
Reference in New Issue
Block a user