No description, website, or topics provided.
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
develop Update ansible.extra_vars Apr 24, 2015
group_vars Update example Aug 10, 2014
roles Fix playbook for vagrant Feb 20, 2015
tmp initial commit Aug 10, 2014
.gitignore Update ansible.extra_vars Apr 24, 2015
README.md Update to use config.vm.provision Feb 16, 2015
Vagrantfile Update ansible.extra_vars Apr 24, 2015
site.yml initial commit Aug 10, 2014

README.md

mysql-replication-ansible

Requirements

  • Vagrant 1.5+
  • Ansible

Usage

Setup

Clone this repository.

$ git clone https://github.com/akagisho/mysql-replication-ansible.git
$ cd mysql-replication-ansible

Execute

Start vagrant VMs and provision by using ansible.

$ vagrant up

(After the first time) Execute ansible playbook.

$ vagrant provosion

Check replication status.

$ vagrant ssh node2 --command "sudo -H mysql -e 'SHOW SLAVE STATUS\G'"

References