Added riak example with events

This commit is contained in:
Jedrzej Nowak 2015-08-14 17:25:01 +02:00
parent 554b856c5b
commit 81710f2d24
3 changed files with 11 additions and 0 deletions

View File

@ -1,4 +1,5 @@
- hosts: [{{ip}}]
sudo: yes
tasks:
- shell: sleep 120
- shell: riak-admin cluster commit

View File

@ -0,0 +1,4 @@
- hosts: [{{ip}}]
sudo: yes
tasks:
- shell: riak-admin cluster join {{join_to}}

View File

@ -2,6 +2,9 @@ id: riak_node
handler: ansible
version: 1.0.0
actions:
commit: actions/commit.yml
run: actions/run.yml
join: actions/join.yml
input:
ip:
schema: str!
@ -15,3 +18,6 @@ input:
riak_name:
schema: str!
value:
join_to:
schema: str
value: