Whitelisted Server IP's and implemented deactivation option for ldap user directory in nextcloud

This commit is contained in:
2025-07-01 02:25:05 +02:00
parent b83d596789
commit 15121fd905
9 changed files with 36 additions and 18 deletions

View File

@@ -18,4 +18,18 @@
- name: run the docker matomo tasks once
set_fact:
run_once_docker_matomo: true
when: run_once_docker_matomo is not defined
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