mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
remove raspberry host
This commit is contained in:
parent
460492110d
commit
8f3a51026a
@ -1,7 +1,7 @@
|
|||||||
- name: Changing permission
|
- name: Changing permission
|
||||||
ansible.builtin.shell: 'chown -R root. /share/docker_data/'
|
ansible.builtin.shell: 'chown -R root. /share/docker_data/'
|
||||||
become: true
|
become: true
|
||||||
when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5']
|
when: 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} root@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} root@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} root@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} root@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user