Created
July 23, 2015 00:07
-
-
Save eyasuyuki/8e836e35de1b4d00bacf to your computer and use it in GitHub Desktop.
Ansible Riak Cluster Task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[riak_cluster] | |
host_A | |
host_B | |
host_C | |
host_D | |
host_E | |
[riak_cluster:vars] | |
top_node=host_A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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