Hi Guys,
I've finished a module for ansible, it is called as
'mysql_replication' and of course you can manage mysql replication
features with that.
It can operate in different ways, you can check replication master's
status, replication slave's status, you can change replication
parameters, and stop / start slaves. The documentation is speaks for
itself I guess. I hope, it will be merged soon, but before that you
can check/test/use it from here:
https://github.com/banyek/ansible/blob/devel/library/database/mysql_replication
"Some" code was taken from Mark Theunissen's mysqldb module (for
example to connect to db, strip quotes, parse config) thanks for him!
kind regards,
Balazs Pocze
--
If a tree falls in a forest and no one is around to hear it, does it
make a sound?