mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
11 lines
579 B
YAML
11 lines
579 B
YAML
- name: Install Matomo main
|
|
include_tasks: install.yml
|
|
when: matomo_installed is undefined
|
|
vars:
|
|
matomo_nginx_loc: "/library/www/html/matomo"
|
|
mdb_dbname: "matomodb"
|
|
mdb_username: "iiab-admin"
|
|
mdb_password: "g0adm1n"
|
|
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"
|