forked from bertvv/ansible-role-mariadb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
converge.yml
38 lines (38 loc) · 1.01 KB
/
converge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
- name: Molecule test playbook
hosts: all
vars:
mariadb_mirror: 'mariadb.mirror.nucleus.be/yum'
mariadb_bind_address: '0.0.0.0'
mariadb_root_password: 'atOrryag&'
mariadb_server_cnf:
general-log:
general-log-file: 'queries.log'
slow-query-log:
slow-query-log-file: 'mariadb-slow.log'
long-query-time: '5.0'
mariadb_custom_cnf:
mariadb:
autoset_open_files_limit:
max-connections: '20'
mysqld:
language: /usr/share/mysql/dutch
mariadb_configure_swappiness: true
mariadb_swappiness: '10'
mariadb_databases:
- name: emptydb
- name: app1db
init_script: ../molecule/common/init.sql
- name: app2db
init_script: ../molecule/common/init.sql
mariadb_users:
- name: app1usr
password: 'Ej{Quiv3'
priv: 'app1db.*:ALL'
host: '172.17.%'
- name: app2usr
password: 'tytsHeab=3'
priv: 'app2db.*:ALL'
host: '172.17.%'
roles:
- role: bertvv.mariadb