community / community.cassandra / 1.3.3 / module / cassandra_autocompaction Enables or disables autocompaction. Authors: Rhys Campbell (@rhysmeister)community.cassandra.cassandra_autocompaction (1.3.3) — module
Install with ansible-galaxy collection install community.cassandra:==1.3.3
collections: - name: community.cassandra version: 1.3.3
Enables or disables autocompaction.
- name: Ensure Cassandra Autocompaction is enabled community.cassandra.cassandra_autocompaction: keyspace: system table: local state: enabled
- name: Ensure Cassandra Autocompaction is disabled community.cassandra.cassandra_autocompaction: keyspace: system table: local state: disabled
host: aliases: - login_host default: 127.0.0.1 description: - The hostname. type: str port: aliases: - login_port default: 7199 description: - The Cassandra TCP port. type: int debug: default: false description: - Enable additional debug output. type: bool state: choices: - enabled - disabled description: - The required status required: true type: str table: description: - The table on which to change autocompact status. elements: str required: true type: list keyspace: description: - The keyspace on which to change autocompact status. required: true type: str password: aliases: - login_password description: - The password to authenticate with. type: str username: aliases: - login_user description: - The username to authenticate with. type: str nodetool_path: description: - The path to nodetool. type: str password_file: aliases: - login_password_file description: - Path to a file containing the password. type: str nodetool_flags: default: -Dcom.sun.jndi.rmiURLParsing=legacy description: - Flags to pass to nodetool. type: str
cassandra_autocompaction: description: The return state of the executed command. returned: success type: str