1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/matomo/tasks/main.yml

12 lines
565 B
YAML
Raw Normal View History

2022-04-30 11:07:09 +00:00
- name: Install Matomo main
include_tasks: install.yml
2022-05-02 10:24:50 +00:00
when: matomo_installed is undefined
2022-04-30 11:07:09 +00:00
vars:
2022-05-04 10:25:16 +00:00
nginx_loc: "/library/www/html"
2022-04-30 11:07:09 +00:00
mdb_dbname: "matomodb"
2022-05-01 10:10:39 +00:00
mdb_username: "iiab-admin"
mdb_password: "g0adm1n"
2022-04-30 11:07:09 +00:00
host_url: "http://{{ ansible_default_ipv4.address}}"
matomo_url: "{{ host_url }}/matomo/"
matomo_cronjob: "sudo python3 /library/www/html/matomo/misc/log-analytics/import_logs.py --url={{ matomo_url }} --idsite=1 --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots /var/log/nginx/access.log"