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
ed4a7a28a0
commit
636aafa392
@ -8,7 +8,7 @@
|
|||||||
when: inventory_hostname == source_server and selected_containers|split(",")|length > 1
|
when: inventory_hostname == source_server and selected_containers|split(",")|length > 1
|
||||||
- debug:
|
- debug:
|
||||||
msg: rsync -avh --delete /share/docker_data/{{ selected_containers }} root@{{ destination_server }}:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"
|
msg: rsync -avh --delete /share/docker_data/{{ selected_containers }} root@{{ destination_server }}:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"
|
||||||
when: inventory_hostname == source_server and selected_containers|split(",")|length = 1
|
when: inventory_hostname == source_server and selected_containers|split(",")|length == 1
|
||||||
|
|
||||||
- name: Syncing all
|
- name: Syncing all
|
||||||
ansible.builtin.shell: rsync -avh --delete /share/docker_data/{{ '{' }}{{ selected_containers }}{{ '{' }} root@{{ destination_server }}:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"
|
ansible.builtin.shell: rsync -avh --delete /share/docker_data/{{ '{' }}{{ selected_containers }}{{ '{' }} root@{{ destination_server }}:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user