--- - 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: domain: "{{ domains | get_domain(application_id) }}" http_port: "{{ ports.localhost.http[application_id] }}" when: run_once_docker_matomo is not defined - include_tasks: "{{ playbook_dir }}/roles/docker-compose/tasks/create-files.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 - name: Exclude global IPs in Matomo uri: url: "{{ matomo_index_php_url }}" method: POST body_format: form-urlencoded body: module: API method: SitesManager.setGlobalExcludedIps excludedIps: "{{ matomo_excluded_ips | join(',') }}" format: json token_auth: "{{ matomo_auth_token }}" return_content: yes status_code: 200