Skip to content

Commit

Permalink
Fix for #663 (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj authored May 29, 2023
1 parent e99d656 commit 97f95cf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ansible/roles/cassandra3/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,21 @@
- packages
- cassandra

- name: add apt repository (Debian)
# Clear this too
- name: remove previous recent apt repository (Debian)
apt_repository:
repo: "deb https://downloads.apache.org/cassandra/debian 311x main"
state: absent
filename: "cassandra.sources"
update_cache: no
when: ansible_os_family == "Debian"
tags:
- packages
- cassandra

- name: add apt repository (Debian)
apt_repository:
repo: "deb https://debian.cassandra.apache.org/ 311x main"
state: present
filename: "cassandra.sources"
update_cache: yes
Expand Down

0 comments on commit 97f95cf

Please sign in to comment.