diff --git a/roles/matomo/tasks/install.yml b/roles/matomo/tasks/install.yml index e5d22fcfb..dabac9274 100644 --- a/roles/matomo/tasks/install.yml +++ b/roles/matomo/tasks/install.yml @@ -180,6 +180,13 @@ body_format: form-urlencoded status_code: 302 +- name: Set Matomo Directory Permissions + file: + path: "{{ matomo_path }}/matomo" + recurse: yes + owner: "{{ apache_user }}" # e.g. www-data + group: "{{ apache_user }}" + - name: Start Collecting Matomo Data cron: name: "MatomoDataIngestionOnReboot"