Skip to content

Commit

Permalink
ansible-scylla-node: Allows Scylla to be installed when an upgrade is…
Browse files Browse the repository at this point in the history
… required

This patch will also allow Scylla to be installed if upgrade_version is set to true.

Signed-off-by: Eduardo Benzecri <[email protected]>
  • Loading branch information
ebenzecri committed Sep 27, 2023
1 parent 1381d71 commit 68b503c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible-scylla-node/tasks/Debian_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
name: "{{ scylla_package_prefix }}={{ aptversions.stdout }}"
state: present
allow_downgrade: yes
when: not scylla_is_installed
when: not scylla_is_installed or upgrade_scylla
become: true
2 changes: 1 addition & 1 deletion ansible-scylla-node/tasks/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
state: present
lock_timeout: 60
become: true
when: not scylla_is_installed
when: not scylla_is_installed or upgrade_scylla

- name: Configure SELinux
shell: |
Expand Down

0 comments on commit 68b503c

Please sign in to comment.