From dd5c1818070a062410fc920ef338f58cd44ef601 Mon Sep 17 00:00:00 2001 From: cwivagg Date: Sat, 24 Dec 2022 08:19:22 -0500 Subject: [PATCH] Add permissions fix as cronjob --- roles/matomo/tasks/install.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/matomo/tasks/install.yml b/roles/matomo/tasks/install.yml index dabac9274..66e3be188 100644 --- a/roles/matomo/tasks/install.yml +++ b/roles/matomo/tasks/install.yml @@ -205,6 +205,14 @@ cron_file: "matomo_daily" +- name: Start Collecting Matomo Data + cron: + name: "MatomoDataIngestionOnReboot2" + special_time: reboot + job: "sudo chown -R www-data:www-data /library/www/matomo" + user: root + cron_file: "matomo_reboot2" + # RECORD Matomo AS INSTALLED - name: "Set 'matomo_installed: True'"