cassandra_assassinate -- Run the assassinate command against a node.

Synopsis

Run the assassinate command against a node.

Forcefully removes a dead node without re-replicating any data.

It is a last resort tool if you cannot successfully use nodetool removenode.

Requirements

The below requirements are needed on the host that executes this module.

Parameters

ip_address (True, str, None)
IP Address of endpoint to assassinate.
debug (optional, bool, False)
Add additional debug output.
host (optional, str, 127.0.0.1)
The hostname.
port (optional, int, 7199)
The Cassandra TCP port.
password (optional, str, None)
The password to authenticate with.
password_file (optional, str, None)
Path to a file containing the password.
username (optional, str, None)
The username to authenticate with.
nodetool_path (optional, str, None)
The path to nodetool.
nodetool_flags (optional, str, -Dcom.sun.jndi.rmiURLParsing=legacy)
Flags to pass to nodetool.

Examples

- name: Assassinate a node
  community.cassandra.cassandra_assassinate:
    ip_address: 127.0.0.1

Return Values

msg (success, str, )
A short description of what happened.

Status

Authors

  • Rhys Campbell (@rhysmeister)