ansible-roles/maxscale/defaults/main.yml
Mathieu Trossevin 94f088e1bf Create role to install MariaDB MaxScale
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.
2020-06-18 10:58:15 +02:00

30 lines
726 B
YAML

---
maxscale_version: 2.4
# The passwords needs to be either unencrypted or encrypted with maxpasswd on
# the MaxScale server.
maxscale_mysql_user: maxscale
maxscale_mysql_password: Null
encrypted_maxscale_mysql_password: Null
maxscale_monitor_user: monitor_user
maxscale_monitor_password: Null
encrypted_maxscale_monitor_password: Null
# Define this variable if you want ansible to create the two users on the MySQL server
# through delegation
maxscale_mysql_master: Null
maxscale_mysql_servers: []
# Example (port is optional and default to 3306):
# maxscale_mysql_servers:
# - name: db1
# address: 192.0.2.102
# port: 3306
maxscale_services:
- name: "Splitter"
router: "readwritesplit"
port: 3306