mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-06-30 23:28:32 +02:00
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
- hosts: nas
|
||||
name: Sync mailu
|
||||
ignore_unreachable: false
|
||||
tasks:
|
||||
- name: Syncing all
|
||||
ansible.builtin.shell: 'rsync -avh --delete root@192.168.77.189:/srv/dev-disk-by-uuid-02fbe97a-cd9a-4511-8bd5-21f8516353ee/docker_data/latest/{{ CONTAINERS }} /share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"'
|
||||
#ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,webhub,nginx,heimdall} root@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"'
|
||||
#ansible.builtin.shell: 'ls -la'
|
||||
when: inventory_hostname in groups['nas']
|
||||
# loop: '{{ CONTAINERS }}'
|
Reference in New Issue
Block a user