mirror of
https://github.com/GeekOops/doc.git
synced 2024-05-20 05:12:21 +00:00
Add matomo post
This commit is contained in:
parent
a34c7c3276
commit
ad4557fe27
30
content/posts/2023/20230316-matomo.md
Normal file
30
content/posts/2023/20230316-matomo.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
title: "matomo"
|
||||
author: "phoenix"
|
||||
date: 2023-03-16T10:14:17+02:00
|
||||
|
||||
---
|
||||
The [geekoops-matomo role](https://github.com/GeekOops/geekoops-matomo) is an Ansible role to install and configure `matomo` on an openSUSE Leap server using the `matomo` system package and `apache2`.
|
||||
|
||||
If desired, the role also installs and configures MariaDB with a custom database and user for you.
|
||||
|
||||
# Example
|
||||
|
||||
The following example playbook installs matomo and creates a `matomo` database and database user using the password `password123` (very secure!).
|
||||
|
||||
|
||||
```yaml
|
||||
---
|
||||
- hosts: jellyfish
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- role: geekoops-matomo
|
||||
vars:
|
||||
db_configure: true
|
||||
db_name: 'matomo'
|
||||
db_user: 'matomo'
|
||||
db_pass: 'password123'
|
||||
firewall_configure: true
|
||||
firewall_zone: 'public'
|
||||
```
|
Loading…
Reference in a new issue