Solved multiple bugs and propably produced 100 more.... Usual Nightshift...

This commit is contained in:
2025-02-21 03:53:27 +01:00
parent 5694023da8
commit bdeaf14285
15 changed files with 30 additions and 41 deletions

View File

@@ -1,20 +1,4 @@
---
- name: check if matomo is up
uri:
url: "https://{{ domains.matomo }}/"
method: GET
return_content: yes
status_code: 200
validate_certs: yes
register: site_check
ignore_errors: yes
when: run_once_docker_matomo is not defined
- name: "Determine global_matomo_tracking_enabled based on current value and site reachability"
set_fact:
global_matomo_tracking_enabled: "{{ (global_matomo_tracking_enabled | bool) and (site_check is defined and site_check.status == 200) }}"
when: run_once_docker_matomo is not defined
- name: "include docker-central-database"
include_role:
name: docker-central-database