Ansible playbook for RethinkDB.
Supports single node and clustered configurations. Also has support for ssh tunneling, using autossh, between nodes. Works with 32-bit and 64-bit CentOS 6.
-
You'll need to install Ansible on the machine you deploy from, for installation options see the Ansible Docs.
-
Create your own inventory file. Examples are included in the inventory_examples folder. If you don't want to use
cluster=true
, which joins all rethinkdb_serve_hosts with each other, you can setup host_vars for each host stating the rethinkdb_joins manually. I've included an example file in the host_vars directory. See help file for more configuration info.
ansible-playbook -i your_inventory_file rethinkdb.yml