aboutsummaryrefslogtreecommitdiff
path: root/roles/mariadb/README.md
blob: 49a732e89c5286f8edc8300741228a23a4b1322a (plain)
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
# kompetenzbolzen.stuff.mariadb

```
---
mdb:
  address: '0.0.0.0'
  ssl:
    enable: False
    ca: '/etc/ssl/certs/ca-certificates.crt'
    cert: '/etc/ssl/certs/ssl-cert-snakeoil.pem'
    key: '/etc/ssl/private/ssl-cert-snakeoil.key'

dbs:
  - testdb1
  - testdb2
db_users:
  test1:
    host: 'localhost'
    priv: 'testdb1.*:ALL'
    state: present
  test2:
    host: 'localhost'
    priv: 'testdb2.*:ALL'
    state: present
```

Passwords for users are pulles from `vault_db_users_pw.<hostname>.<username>`