ansible-role-mariadb/molecule/default/converge.yml

24 lines
462 B
YAML
Raw Permalink Normal View History

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:
mariadb_password: secret
2019-02-21 21:19:56 +00:00
mariadb_autorestart: yes
mariadb_master: yes
mariadb_config:
client-server: {}
mysqld:
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