ansible/ansible — pull request #3190 by banyek (2013-06-13 11:00:19+00:00)
Title: Mysql_replication

Hi Guys!

I just made a mysql_replication module for ansible, for the first sight it is working nice. There is 3 different mode to operate, getmaster, getslave, changemaster. (default getslave)
On getmaster, getslave it will put onto a json file the "SHOW SLAVE STATUS" and the "SHOW MASTER STATUS"
On changemaster mode you could add the 'original' mysql parameters onto it, and it will run the "CHANGE MASTER TO ..." command.