cassandra_reload -- Reloads various objects into the local node.

Synopsis

Reloads various objects into the local node.

Currently can reload local schema, seeds, ssl certs and triggers.

Requirements

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

Parameters

reload (True, str, None)
Object type to reload.
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.
debug (optional, bool, False)
Enable additional debug output.

Examples

- name: Reload local schema
  community.cassandra.cassandra_reload:
    reload: localschema

- name: Reload seeds
  community.cassandra.cassandra_reload:
    reload: seeds

- name: Reload ssl certs
  community.cassandra.cassandra_reload:
    reload: ssl

- name: Reload triggers
  community.cassandra.cassandra_reload:
    reload: triggers

Return Values

cassandra_reload (success, str, )
The return state of the executed command.

Status

Authors

  • Rhys Campbell (@rhysmeister)