This role have to add the official MariaDB MaxScale repository as maxscale isn't in the Debian repositories. Moreover as maxscale need two mysql users to works, the role can also create these users if requested and ansible has access to a master server.
10 lines
210 B
YAML
10 lines
210 B
YAML
---
|
|
- hosts: test-kitchen
|
|
vars:
|
|
maxscale_mysql_password: maxscale-pwd
|
|
maxscale_monitor_password: mypwd
|
|
maxscale_mysql_servers:
|
|
- 127.0.0.1 # Need at least one server
|
|
roles:
|
|
- maxscale
|