mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Add section for cookie resetting
This commit is contained in:
parent
3e9541ab7e
commit
fb326651a0
1 changed files with 10 additions and 0 deletions
|
@ -89,6 +89,16 @@
|
||||||
body_format: form-urlencoded
|
body_format: form-urlencoded
|
||||||
status_code: 302
|
status_code: 302
|
||||||
register: matomo_setup_superuser
|
register: matomo_setup_superuser
|
||||||
|
- name: Set a variable for the MATOMO_SESSID cookie
|
||||||
|
set_fact:
|
||||||
|
matomo_session_cookie: "MATOMO_SESSID={{ cookie.value }}"
|
||||||
|
when:
|
||||||
|
- matomo_table_creation.cookies is defined
|
||||||
|
- matomo_table_creation.cookies | length > 0
|
||||||
|
- cookie.key == "MATOMO_SESSID"
|
||||||
|
loop: "{{ matomo_table_creation.cookies | dict2items }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: cookie
|
||||||
- name: Configure Matomo to track IIAB
|
- name: Configure Matomo to track IIAB
|
||||||
uri:
|
uri:
|
||||||
url: "{{ matomo_url }}index.php?action=firstWebsiteSetup&module=Installation"
|
url: "{{ matomo_url }}index.php?action=firstWebsiteSetup&module=Installation"
|
||||||
|
|
Loading…
Reference in a new issue