bitwarden

This commit is contained in:
jaydee 2024-11-15 13:30:36 +01:00
parent ed4a7a28a0
commit 636aafa392

View File

@ -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/*"