mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
upt playbook
This commit is contained in:
parent
6f687c5192
commit
1e7ab9d975
@ -1,7 +1,11 @@
|
|||||||
- hosts: 192.168.77.106
|
- hosts: containers
|
||||||
name: Sync mailu
|
name: Sync mailu
|
||||||
ignore_unreachable: false
|
ignore_unreachable: false
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Syncing mailu
|
||||||
|
ansible.builtin.shell: 'chown -R admin. /share/docker_data/mailu2'
|
||||||
|
become: true
|
||||||
|
when: inventory_hostname in groups['raspberry']
|
||||||
- name: Syncing mailu
|
- name: Syncing mailu
|
||||||
ansible.builtin.shell: 'rsync -ra /share/docker_data/mailu2/* admin@192.168.77.246:/share/docker_data/mailu2'
|
ansible.builtin.shell: 'rsync -ra /share/docker_data/mailu2/* admin@192.168.77.246:/share/docker_data/mailu2'
|
||||||
when: inventory_hostname in groups['nas']
|
when: inventory_hostname in groups['nas']
|
Loading…
x
Reference in New Issue
Block a user