mariadb: initial commit

This commit is contained in:
2021-10-18 17:42:25 +02:00
commit 7c9285ce17
9 changed files with 192 additions and 0 deletions

View File

@@ -0,0 +1 @@
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('{{ mysql_root_password }}') ;

View File

@@ -0,0 +1,8 @@
{{ mariadb_server_log }} {
daily
rotate 7
create 0640 mysql wheel
postrotate
/usr/bin/mysqladmin flush-logs
endscript
}

4
templates/root-my.cnf.j2 Normal file
View File

@@ -0,0 +1,4 @@
[client]
host=localhost
user={{ mariadb_root_username }}
password={{ mariadb_root_password }}