Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shakahl/ansible-maxscale
Install and configure MaxScale on Ubuntu or Debian based systems
https://github.com/shakahl/ansible-maxscale
Last synced: about 1 month ago
JSON representation
Install and configure MaxScale on Ubuntu or Debian based systems
- Host: GitHub
- URL: https://github.com/shakahl/ansible-maxscale
- Owner: shakahl
- License: mit
- Created: 2016-08-11T13:56:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:36:22.000Z (about 1 year ago)
- Last Synced: 2023-12-15T22:16:46.301Z (about 1 year ago)
- Language: Perl
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shakahl.ansible-maxscale
An Ansible role that installs MaxScale on Ubuntu or Debian based systems.
Role Variables
--------------### Global
- `maxscale_download_token: False` - required
- `maxscale_prepare_logrotate: False`
- `maxscale_version: 'latest'`
- `maxscale_threads: 1`
- `maxscale_log_messages: 1`
- `maxscale_log_trace: 0`
- `maxscale_log_debug: 0`
- `maxscale_logdir: '/var/log/maxscale'`
- `maxscale_cachedir: '/var/cache/maxscale'`
- `maxscale_piddir: '/var/run/maxscale'`
- `maxscale_config: {...}`### Configuration
Example:
```yaml
maxscale_config:'server1':
type: server
address: 'server1.local'
port: '3306'
protocol: MySQLBackend'server2':
type: server
address: 'server2.local'
port: '3306'
protocol: MySQLBackend'MySQL Monitor':
type: monitor
module: mysqlmon
servers: 'server1,server2'
user: 'example_user'
passwd: 'example_pass'
monitor_interval: '10000''Read-Write Service':
type: service
router: readwritesplit
servers: 'server1,server2'
user: 'example_user'
passwd: 'example_pass'
max_slave_connections: 100%'MaxAdmin Service':
type: service
router: cli'Read-Write Listener':
type: listener
service: 'Read-Write Service'
protocol: MySQLClient
port: '4006''MaxAdmin Listener':
type: listener
service: 'MaxAdmin Service'
protocol: maxscaled
port: '6603'```
Dependencies
------------None.
Example Playbook
----------------- hosts: maxscale
roles:
- { role: shakahl.ansible-maxscale }License
-------GPLv2
Author Information
------------------- GitHub: [@shakahl](https://github.com/shakahl)