Skip to content

Commit

Permalink
nextcloud: Update /var/www/nextcloud globally
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Jul 22, 2024
1 parent 729c4c9 commit 987dae5
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions roles/nextcloud/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,12 @@

- name: Ensure Web server have write permissions on Nextcloud directories
ansible.builtin.file:
path: "/var/www/nextcloud/{{ item.name }}"
path: "/var/www/nextcloud"
owner: nextcloud
group: nextcloud
mode: "0750"
setype: httpd_sys_rw_content_t
recurse: "{{ item.is_dir | default(true) }}"
with_items:
- name: apps
- name: config
- name: data
- name: 3rdparty/aws/aws-sdk-php/src/data/logs
- name: .htaccess
is_dir: false
- name: .user.ini
is_dir: false
recurse: true
tags: molecule-idempotence-notest # Fail with SELinux context

- name: Ensure nextcloud log file exists to avoid errors when using journald for logging
Expand Down

0 comments on commit 987dae5

Please sign in to comment.