Invalidates the various caches on the Cassandra node.
Invalidates the Counter, Key and Row caches.
- cache (True, str, None)
- The cache to clear.
- debug (optional, bool, False)
- Add additional debug output.
- fake_counter (optional, bool, False)
Fake the counter results so the module wil execute the appropriate invalid cache command.
Intended for internal testing use only.
- 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.
- name: Invalidate the counter cache community.cassandra.cassandra_invalidatecache: cache: counter - name: Invalidate the key cache community.cassandra.cassandra_invalidatecache: cache: key - name: Invalidate the row cache community.cassandra.cassandra_invalidatecache: cache: row