mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-03 00:03:05 +02:00
bitwarden
This commit is contained in:
@ -2,7 +2,8 @@
|
||||
- name: Changing permission
|
||||
ansible.builtin.shell: 'chown -R root. /share/docker_data/'
|
||||
become: true
|
||||
|
||||
vars:
|
||||
selected_containers: "{{ selected_containers|replace('homeassistant' ,'ha') }}"
|
||||
- debug:
|
||||
msg: rsync -avh --delete /share/docker_data/{{ '{' }}{{ selected_containers }}{{ '}' }} root@{{ destination_server }}:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"
|
||||
when: selected_containers|split(",")|length > 1
|
||||
|
Reference in New Issue
Block a user