From fe4c3a73a67780dc11b38c08e06fdc2732f058c3 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 23 Jan 2019 09:43:24 +0100
Subject: [PATCH] Make matomo table prefix configurable

---
 tasks/install.yml        | 2 +-
 templates/config.ini.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tasks/install.yml b/tasks/install.yml
index 8f7694d..6cacc89 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -51,7 +51,7 @@
 - name: "Clone Git Repository"
   git:
     accept_hostkey: yes
-    repo: 'git@github.com:matomo/matomo.git'
+    repo: 'git@github.com:matomo-org/matomo.git'
     dest: '{{ webRoot }}'
     track_submodules: yes
     force: yes
diff --git a/templates/config.ini.php b/templates/config.ini.php
index 0e61329..36f2845 100644
--- a/templates/config.ini.php
+++ b/templates/config.ini.php
@@ -5,7 +5,7 @@ host = "127.0.0.1"
 username = "root"
 password = "{{ mysql_root_password|default("root") }}"
 dbname = "matomo_{{ matomo.id }}"
-tables_prefix = "matomo_"
+tables_prefix = "{{ matomo.tables_prefix|default("matomo") }}_"
 port = "{{ matomo.db_port|default('3306') }}"
 
 [General]
-- 
GitLab