25 lines
740 B
YAML
Raw Normal View History

2023-11-17 15:15:25 +01:00
---
2025-02-11 04:49:21 +01:00
- 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
- 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
- name: "include docker-central-database"
include_role:
name: docker-central-database
- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
2025-02-06 23:59:53 +01:00
- name: "copy docker-compose.yml and env file"
include_tasks: copy-docker-compose-and-env.yml