mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-02-24 10:13:30 +07:00
Replication OK (transfert from another git repo)
This commit is contained in:
21
tests/group_vars/master
Normal file
21
tests/group_vars/master
Normal file
@@ -0,0 +1,21 @@
|
||||
# Master must listen for replication
|
||||
mysql_bind_address: '0.0.0.0'
|
||||
|
||||
# Master durability
|
||||
mysql_sync_binlog: '1'
|
||||
mysql_innodb_flush_log_at_trx_commit: '1'
|
||||
|
||||
mysql_databases:
|
||||
- 'testrepl'
|
||||
- 'norepl'
|
||||
|
||||
mysql_users:
|
||||
- name: 'replication'
|
||||
password: '1a2b3c'
|
||||
priv: '*.*:"REPLICATION SLAVE"'
|
||||
host: '%'
|
||||
mysql_replication_master: true
|
||||
mysql_replication_slave: false
|
||||
mysql_server_id: 1
|
||||
|
||||
# vim: set ft=yaml :
|
||||
Reference in New Issue
Block a user