diff --git a/roles/cassandra_install/defaults/main.yml b/roles/cassandra_install/defaults/main.yml index 50a814a4..be0523ec 100644 --- a/roles/cassandra_install/defaults/main.yml +++ b/roles/cassandra_install/defaults/main.yml @@ -1,3 +1,4 @@ --- # defaults file for cassandra_install cassandra_packages: cassandra +cassandra_exact_version: 3.11.17 diff --git a/roles/cassandra_install/tasks/main.yml b/roles/cassandra_install/tasks/main.yml index 96d7c57e..565be31b 100644 --- a/roles/cassandra_install/tasks/main.yml +++ b/roles/cassandra_install/tasks/main.yml @@ -9,7 +9,7 @@ - name: Install Cassandra Packages package: - name: "{{ cassandra_packages }}" + name: "{{ cassandra_packages }}={{ cassandra_exact_version }}" state: present retries: 3