2019-02-21 21:19:56 +00:00
|
|
|
---
|
2020-03-01 10:49:25 +00:00
|
|
|
- name: Converge
|
|
|
|
hosts: all
|
2019-02-21 21:19:56 +00:00
|
|
|
vars:
|
2020-03-28 10:16:19 +00:00
|
|
|
mariadb_password: secret
|
2019-02-21 21:19:56 +00:00
|
|
|
mariadb_autorestart: yes
|
|
|
|
mariadb_master: yes
|
|
|
|
mariadb_config:
|
|
|
|
client-server: {}
|
|
|
|
mysqld:
|
2019-03-17 14:10:04 +00:00
|
|
|
datadir: /opt/mariadb
|
2019-02-21 21:19:56 +00:00
|
|
|
server-id: 5
|
|
|
|
log-bin: mysql-bin
|
|
|
|
mariadb_databases:
|
|
|
|
- name: test
|
|
|
|
mariadb_users:
|
|
|
|
- name: toto
|
|
|
|
host: '%'
|
|
|
|
password: test
|
|
|
|
privileges:
|
|
|
|
- 'test.*:ALL'
|
|
|
|
roles:
|
|
|
|
- ansible-role-mariadb
|