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
2e172df934
commit
3da4715190
@ -6,8 +6,16 @@
|
|||||||
- debug:
|
- debug:
|
||||||
msg: "{{ item }}"
|
msg: "{{ item }}"
|
||||||
loop: "{{ selected_containers | split(',') }}"
|
loop: "{{ selected_containers | split(',') }}"
|
||||||
when: inventory_hostname in groups['morefine-server']
|
when: inventory_hostname == destination_server
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ selected_host }}"
|
msg: "{{ destination_server }}"
|
||||||
when: inventory_hostname in groups['morefine-server']
|
when: inventory_hostname == destination_server
|
||||||
|
- debug:
|
||||||
|
msg: "{{ source_server }}"
|
||||||
|
when: inventory_hostname == destination_server
|
||||||
|
- debug:
|
||||||
|
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
|
||||||
|
- debug:
|
||||||
|
msg: "{{ destination_server }}"
|
||||||
|
when: inventory_hostname == destination_server
|
Loading…
x
Reference in New Issue
Block a user