Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cassandra_exact_version var #290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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
@@ -1,3 +1,4 @@
---
# 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