riak - This module handles some common Riak operations

Synopsis

New in version 1.2.

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

Options

parameter required default choices comments
command no
  • ping
  • kv_test
  • join
  • plan
  • commit
The command you would like to perform against the cluster.
config_dir no /etc/riak
    The path to the riak configuration directory
    http_conn no 127.0.0.1:8098
      The ip address and port that is listening for Riak HTTP queries
      target_node no riak@127.0.0.1
        The target node for certain operations (join, ping)
        validate_certs no yes
        • yes
        • no
        If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. (added in Ansible 1.5.1)
        wait_for_handoffs no
          Number of seconds to wait for handoffs to complete.
          wait_for_ring no
            Number of seconds to wait for all nodes to agree on the ring.
            wait_for_service no None
            • kv
            Waits for a riak service to come online before continuing.

            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
            

            Table Of Contents

            Previous topic

            redis - Various redis commands, slave and flush

            Next topic

            Files Modules