ANSIBLE.RIAK(3)

NAME
riak - This module handles some common Riak operations

DESCRIPTION

This module can be used to join nodes to a cluster, check the status of the cluster.

OPTIONS

command
    The command you would like to perform against the cluster. Choices: ping,kv_test,join,plan,commit.

config_dir
    The path to the riak configuration directory (default: /etc/riak)

http_conn
    The ip address and port that is listening for Riak HTTP queries (default: 127.0.0.1:8098)

target_node
    The target node for certain operations (join, ping) (default: riak@127.0.0.1)

wait_for_handoffs
    Number of seconds to wait for handoffs to complete.

wait_for_ring
    Number of seconds to wait for all nodes to agree on the ring.

wait_for_service
    Waits for a riak service to come online before continuing. Choices: kv. (default: None).

EXAMPLES
# Join's a Riak node to another node
- riak: command=join target_node=riak@10.1.1.1
# Wait for handoffs to finish.  Use with async and poll.
- riak: wait_for_handoffs=yes
# Wait for riak_kv service to startup
- riak: wait_for_service=kv

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#riak