Tasks for installing, updating, adding users and sites for Matomo using Ansible

I’ve written a Matomo Ansible Galaxy role which enable automatic installing and updating of Matomo, adding and deleting and updating users (changing passwords and email addresses) and adding and updating sites (updating the URLs), it doesn’t yet support deleting sites as there isn’t a ExtraTool delete:site command.

For some tasks, where commands are not yet available to be run using the PHP console, there is direct editing of the Matomo MySQL database, hopefully this can be removed at some point in the future.

This wouldn’t have been possible without the UserConsole and ExtraTools plugins written by @Mikke_Schiren.