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
4dc241381d
commit
dfc06b49ea
@ -3,8 +3,8 @@
|
|||||||
ignore_unreachable: false
|
ignore_unreachable: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Change owner
|
- 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
|
- 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
|
- 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 {} \'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user