cassandra_timeout -- Manages the timeout on the Cassandra node.
Manages the timeout.
Set the specified timeout in ms, or 0 to disable timeout.
The below requirements are needed on the host that executes this module.
- timeout (True, int, None)
- Timeout in milliseconds.
- timeout_type (optional, str, read)
- Type of timeout.
- 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.
- name: Set read timeout to 1000 ms
community.cassandra.cassandra_timeout:
timeout: 1000
timeout_type: read
- name: Disable write timeout
community.cassandra.cassandra_timeout:
timeout: 0
timeout_type: write
- cassandra_timeout (success, str, )
- The return state of the executed command.
Authors
- Rhys Campbell (@rhysmeister)