2023-09-30 11:34:39 +02:00
|
|
|
- hosts: nas
|
|
|
|
name: Sync mailu
|
|
|
|
ignore_unreachable: false
|
|
|
|
tasks:
|
|
|
|
- name: Change owner
|
2023-09-30 11:36:23 +02:00
|
|
|
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 chown -R www-data:www-data /var/www/html/'
|
2023-09-30 11:34:39 +02:00
|
|
|
- name: Change dir perms
|
2023-09-30 11:36:23 +02:00
|
|
|
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 find /var/www/html/ -type d -exec chmod 750 {} \;'
|
2023-09-30 11:34:39 +02:00
|
|
|
- name: Change file perms
|
2023-09-30 11:36:23 +02:00
|
|
|
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 find /var/www/html/ -type f -exec chmod 640 {} \'
|