1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00
iiab/roles/matomo/defaults/main.yml
2022-06-18 13:43:43 -04:00

18 lines
829 B
YAML

# 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
matomo_path: "{{ doc_base }}" # e.g. /library/www
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"