mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
7 lines
291 B
YAML
7 lines
291 B
YAML
- 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'] |