mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
bitwarden
This commit is contained in:
1 parent
3da4715190
commit
0924904a11
1 file changed
+1
-5
@@ -1,21 +1,17 @@
|
||||
---
|
||||
- name: import a task
|
||||
hosts: containers
|
||||
hosts: nas
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- debug:
|
||||
msg: "{{ item }}"
|
||||
loop: "{{ selected_containers | split(',') }}"
|
||||
when: inventory_hostname == destination_server
|
||||
- debug:
|
||||
msg: "{{ destination_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
|
||||
Reference in new issue
Block a user