mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved more matomo bugs
This commit is contained in:
@@ -8,19 +8,34 @@
|
||||
validate_certs: yes
|
||||
register: site_check
|
||||
ignore_errors: yes
|
||||
when: run_once_docker_matomo is not defined
|
||||
|
||||
# @todo optimize this code. If global_matomo_tracking_enabled is active it doesn't have any impact.
|
||||
- name: implement matomo tracking for matomo if matomo is up and tracking enabled
|
||||
set_fact:
|
||||
global_matomo_tracking_enabled: true
|
||||
when: site_check is defined and site_check.status == 200 and global_matomo_tracking_enabled | bool
|
||||
when:
|
||||
- site_check is defined and site_check.status == 200
|
||||
- global_matomo_tracking_enabled | bool
|
||||
- run_once_docker_matomo is not defined
|
||||
|
||||
- name: "include docker-central-database"
|
||||
include_role:
|
||||
name: docker-central-database
|
||||
when: run_once_docker_matomo is not defined
|
||||
|
||||
- name: "include role nginx-domain-setup for {{application_id}}"
|
||||
include_role:
|
||||
name: nginx-domain-setup
|
||||
vars:
|
||||
oauth2_proxy_active: false # Deactivate prox, in case it got activated by another app
|
||||
when: run_once_docker_matomo is not defined
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
||||
when: run_once_docker_matomo is not defined
|
||||
|
||||
- name: run the docker matomo tasks once
|
||||
set_fact:
|
||||
run_once_docker_matomo: true
|
||||
when: run_once_docker_matomo is not defined
|
Reference in New Issue
Block a user