Skip to content

Commit

Permalink
Added cassandra_exact_version
Browse files Browse the repository at this point in the history
Adding that variable allows to install exact version
This is needed on upgrading of an existing installation on Debian
  • Loading branch information
orlinzhechev authored and orlinkata committed Dec 18, 2024
1 parent 39c7e81 commit 68c64d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/cassandra_install/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# defaults file for cassandra_install
cassandra_packages: cassandra
cassandra_exact_version: 3.11.17
2 changes: 1 addition & 1 deletion roles/cassandra_install/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- name: Install Cassandra Packages
package:
name: "{{ cassandra_packages }}"
name: "{{ cassandra_packages }}={{ cassandra_exact_version }}"
state: present
retries: 3

Expand Down

0 comments on commit 68c64d2

Please sign in to comment.