Skip to content

Instantly share code, notes, and snippets.

@eyasuyuki
Created July 23, 2015 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eyasuyuki/8e836e35de1b4d00bacf to your computer and use it in GitHub Desktop.
Save eyasuyuki/8e836e35de1b4d00bacf to your computer and use it in GitHub Desktop.
Ansible Riak Cluster Task
[riak_cluster]
host_A
host_B
host_C
host_D
host_E
[riak_cluster:vars]
top_node=host_A
---
- name: Join Cluster
shell: riak-admin cluster join riak@{{ top_node }}
- name: Commit Cluster
shell: riak-admin cluster commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment