1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/matomo/defaults/main.yml

19 lines
829 B
YAML
Raw Normal View History

2022-06-15 06:40:28 +00:00
# matomo_install: True
# matomo_enabled: True
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
matomo_dl_url: https://builds.matomo.org/matomo.tar.gz
2022-06-18 17:43:43 +00:00
matomo_path: "{{ doc_base }}" # e.g. /library/www
2022-06-15 06:40:28 +00:00
matomo_db_name: matomodb
matomo_db_user: Admin
matomo_db_pass: changeme
#matomo_host_url: http://{{ ansible_default_ipv4.address }}
matomo_host_url: http://{{ iiab_hostname }}.{{ iiab_domain }} # e.g. http://box.lan
matomo_full_url: "{{ matomo_host_url }}/matomo/"
matomo_cronjob: "sudo python3 {{ matomo_path }}/matomo/misc/log-analytics/import_logs.py --url={{ matomo_full_url }} --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /var/log/nginx/access.log"