diff --git a/hosts.yml b/hosts.yml index 32aea02..b684654 100644 --- a/hosts.yml +++ b/hosts.yml @@ -63,8 +63,8 @@ datacenter: 192.168.77.1 vars: ansible_python_interpreter: /opt/bin/python - ansible_user: admin - ansible_pass: l4c1!j4yd33?Du5lo + ansible_ssh_user: admin + ansible_ssh_pass: l4c1!j4yd33?Du5lo raspberry: hosts: 192.168.77.246 @@ -87,6 +87,6 @@ datacenter: hosts: 192.168.77.106: vars: - ansible_user: admin - ansible_pass: l4c1!j4yd33?Du5lo + ansible_ssh_user: admin + ansible_ssh_pass: l4c1!j4yd33?Du5lo ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3 \ No newline at end of file diff --git a/playbooks/sync_container_data.yaml b/playbooks/sync_container_data.yaml index 870747e..51285d7 100644 --- a/playbooks/sync_container_data.yaml +++ b/playbooks/sync_container_data.yaml @@ -3,7 +3,7 @@ become: true when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5'] - name: Syncing all - #ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,ha,gitlab,semaphore,webhub,nginx,heimdall} admin@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"' - ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,webhub,nginx,heimdall} admin@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"' + ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,ha,gitlab,semaphore,webhub,nginx,heimdall} admin@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"' + #ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,webhub,nginx,heimdall} admin@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'] \ No newline at end of file