chore(server): adjust folder permissions to be idempotent, formatting

This commit is contained in:
transcaffeine 2023-02-09 16:08:24 +01:00
parent c7fd45b47f
commit 0368d71410
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
1 changed files with 5 additions and 5 deletions

View File

@ -46,19 +46,19 @@ nextcloud_container_purge_other_networks: true
nextcloud_paths: nextcloud_paths:
- path: "{{ nextcloud_config_path }}" - path: "{{ nextcloud_config_path }}"
mode: "0755" mode: "0755"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "root" group: root
- path: "{{ nextcloud_data_path }}" - path: "{{ nextcloud_data_path }}"
mode: "0755" mode: "0755"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" group: "{{ nextcloud_user_info.group | default(nextcloud_user) }}"
- path: "{{ nextcloud_fpm_config_path }}" - path: "{{ nextcloud_fpm_config_path }}"
mode: "0750" mode: "0750"
owner: root owner: root
group: root group: root
- path: "{{ nextcloud_storage_path }}" - path: "{{ nextcloud_storage_path }}"
mode: "0770" mode: "0770"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "root" group: "root"
# PHP OpCache tuning # PHP OpCache tuning