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 authored and vladzcloudius committed Sep 27, 2023
1 parent 1381d71 commit e4a5fdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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
become: true
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 e4a5fdf

Please sign in to comment.