From 8f31b2fbfe7608e25f5305a16565d3a4e93210ec Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 13 Jul 2025 21:10:20 +0200 Subject: [PATCH] Execute Matomo before other roles --- tasks/stages/02_server.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/stages/02_server.yml b/tasks/stages/02_server.yml index fb3b4f8b..98ce6bdb 100644 --- a/tasks/stages/02_server.yml +++ b/tasks/stages/02_server.yml @@ -10,6 +10,12 @@ - sys-hlth-btrfs - sys-rpr-btrfs-blnc +# It is necessary to setup Matomo first, because all other web apps need it if matomo is activated +- name: setup web-app-matomo + when: ('web-app-matomo' | application_allowed(group_names, allowed_applications)) + include_role: + name: web-app-matomo + - name: "Include server roles" include_tasks: "./tasks/groups/{{ item }}-roles.yml" loop: