Skip to content

Conversation

@orlinkata
Copy link

SUMMARY

Added the cassandra_exact_version variable to allow specifying the exact version of Cassandra to install. This change ensures that the desired version can be installed, which is particularly useful during upgrades of existing installations on Debian.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

cassandra_install

ADDITIONAL INFORMATION

This update modifies the cassandra_install role to support specifying an exact version of Cassandra for installation. The change affects the defaults/main.yml and tasks/main.yml files. By using the cassandra_exact_version variable, users can control the installed version during upgrades or initial setups.

Example usage in an inventory file:

[c502_nodes]
c1_502 cassandra_version="50x" cassandra_exact_version="5.0.2"

Adding that variable allows to install exact version
This is needed on upgrading of an existing installation on Debian
---
# defaults file for cassandra_install
cassandra_packages: cassandra
cassandra_exact_version: 3.11.17
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default for this should probably be unset so the latest package is installed unless otherwise specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants