mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
ole
This commit is contained in:
parent
78bb785e0d
commit
acb2550e97
@ -63,8 +63,8 @@ datacenter:
|
|||||||
192.168.77.1
|
192.168.77.1
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /opt/bin/python
|
ansible_python_interpreter: /opt/bin/python
|
||||||
ansible_user: admin
|
ansible_ssh_user: admin
|
||||||
ansible_pass: l4c1!j4yd33?Du5lo
|
ansible_ssh_pass: l4c1!j4yd33?Du5lo
|
||||||
raspberry:
|
raspberry:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.77.246
|
192.168.77.246
|
||||||
@ -87,6 +87,6 @@ datacenter:
|
|||||||
hosts:
|
hosts:
|
||||||
192.168.77.106:
|
192.168.77.106:
|
||||||
vars:
|
vars:
|
||||||
ansible_user: admin
|
ansible_ssh_user: admin
|
||||||
ansible_pass: l4c1!j4yd33?Du5lo
|
ansible_ssh_pass: l4c1!j4yd33?Du5lo
|
||||||
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3
|
ansible_python_interpreter: /share/ZFS530_DATA/.qpkg/QPython39/bin/python3
|
@ -3,7 +3,7 @@
|
|||||||
become: true
|
become: true
|
||||||
when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5']
|
when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5']
|
||||||
- name: Syncing all
|
- 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,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,webhub,nginx,heimdall} admin@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"'
|
||||||
#ansible.builtin.shell: 'ls -la'
|
#ansible.builtin.shell: 'ls -la'
|
||||||
when: inventory_hostname in groups['nas']
|
when: inventory_hostname in groups['nas']
|
Loading…
x
Reference in New Issue
Block a user