mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
changes to Matomo role to record state
This commit is contained in:
parent
1f2bd60002
commit
30620a8034
2 changed files with 9 additions and 0 deletions
|
@ -139,3 +139,11 @@
|
|||
job: "{{ matomo_cronjob }}"
|
||||
user: root
|
||||
cron_file: "matomo_daily"
|
||||
- name: Set Matomo state variable
|
||||
set_fact:
|
||||
matomo_installed: True
|
||||
- name: Set Matomo state variable in IIAB state file
|
||||
lineinfile:
|
||||
path: "{{ iiab_state_file }}"
|
||||
regexp: '^matomo_installed'
|
||||
line: 'matomo_installed: True'
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
- name: Install Matomo main
|
||||
include_tasks: install.yml
|
||||
when: matomo_installed is undefined
|
||||
vars:
|
||||
mdb_dbname: "matomodb"
|
||||
mdb_username: "iiab-admin"
|
||||
|
|
Loading…
Reference in a new issue