upt playbook

This commit is contained in:
jaydee 2023-09-30 11:36:23 +02:00
parent 4dc241381d
commit dfc06b49ea

View File

@ -3,8 +3,8 @@
ignore_unreachable: false
tasks:
- name: Change owner
ansible.builtin.shell: 'docker exec nextcloud-app-1 chown -R www-data:www-data /var/www/html/'
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 chown -R www-data:www-data /var/www/html/'
- name: Change dir perms
ansible.builtin.shell: 'docker exec nextcloud-app-1 find /var/www/html/ -type d -exec chmod 750 {} \;'
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 find /var/www/html/ -type d -exec chmod 750 {} \;'
- name: Change file perms
ansible.builtin.shell: 'docker exec nextcloud-app-1 find /var/www/html/ -type f -exec chmod 640 {} \'
ansible.builtin.shell: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker exec nextcloud-app-1 find /var/www/html/ -type f -exec chmod 640 {} \'