ansible / ansible.builtin / v2.5.11 / module / riak This module handles some common Riak operations | "added in version" 1.2 of ansible.builtin" Authors: James Martin (@jsmartin), Drew Kerrigan (@drewkerrigan) preview | supported by communityansible.builtin.riak (v2.5.11) — module
pip
Install with pip install ansible==2.5.11
This module can be used to join nodes to a cluster, check the status of the cluster.
# 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
command: choices: - ping - kv_test - join - plan - commit default: null description: - The command you would like to perform against the cluster. required: false http_conn: default: 127.0.0.1:8098 description: - The ip address and port that is listening for Riak HTTP queries required: false config_dir: default: /etc/riak description: - The path to the riak configuration directory required: false target_node: default: riak@127.0.0.1 description: - The target node for certain operations (join, ping) required: false wait_for_ring: default: null description: - Number of seconds to wait for all nodes to agree on the ring. required: false validate_certs: choices: - 'yes' - 'no' default: 'yes' description: - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false version_added: 1.5.1 version_added_collection: ansible.builtin wait_for_service: choices: - kv default: None description: - Waits for a riak service to come online before continuing. required: false wait_for_handoffs: default: null description: - Number of seconds to wait for handoffs to complete. required: false