forked from evolix/ansible-roles
e22703425d
(+ Make config file a bit more readable)
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
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
|
|
options: []
|
|
filters: []
|
|
# Full example:
|
|
# maxscale_services:
|
|
# - name: "ExampleServ"
|
|
# router: "readwritesplit"
|
|
# port: 3306
|
|
# filters:
|
|
# - 'ExampleFilter'
|
|
# options: []
|
|
|
|
maxscale_filters: []
|
|
# Example:
|
|
# maxscale_filters:
|
|
# - name: 'ExampleFilter'
|
|
# module: 'dbfwfilter'
|
|
# options:
|
|
# - name: 'rules'
|
|
# value: 'examplefilter.txt'
|
|
|