Added riak example with events
This commit is contained in:
parent
554b856c5b
commit
81710f2d24
@ -1,4 +1,5 @@
|
||||
- hosts: [{{ip}}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- shell: sleep 120
|
||||
- shell: riak-admin cluster commit
|
||||
|
4
resources/riak_node/actions/join.yml
Normal file
4
resources/riak_node/actions/join.yml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: [{{ip}}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- shell: riak-admin cluster join {{join_to}}
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user