Skip to content

Commit

Permalink
Bump rabbitmq version
Browse files Browse the repository at this point in the history
This updates rabbitmq and erlang versions along with unifying approach
for focal and debian.

Change-Id: I51259a10b2e04cf533b776f34a6bc678e57f8c2a
  • Loading branch information
Dmitriy Rabotyagov authored and andrewbonney committed Jul 22, 2021
1 parent 1f88fc7 commit bd355fc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 56 deletions.
@@ -0,0 +1,8 @@
---
fixes:
- |
This release addresses an issue when upgrading from Ubuntu Bionic to
Ubuntu Focal during the Victoria release cycle. By default the same
RabbitMQ version will now be installed for both Bionic and Focal to avoid
a downgrade from being attempted. It is strongly recommended to upgrade
to this release before attempting an upgrade to Ubuntu Focal.
4 changes: 2 additions & 2 deletions vars/debian.yml
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

_rabbitmq_install_method: external_repo
_rabbitmq_package_version: "3.8.9-1"
_rabbitmq_package_version: "3.8.14-1"

_rabbitmq_gpg_keys:
- file: gpg/4D206F89
Expand All @@ -32,7 +32,7 @@ _rabbitmq_erlang_repo:
state: "present"
filename: els_erlang

_rabbitmq_erlang_version_spec: "{{ (rabbitmq_install_method == 'external_repo') | ternary('1:22.3-1', '1:22.*') }}"
_rabbitmq_erlang_version_spec: "{{ (rabbitmq_install_method == 'external_repo') | ternary('1:23.2.3-1', '1:22.*') }}"

_rabbitmq_distro_dependencies:
- "{{ (ansible_architecture == 'aarch64') | ternary('erlang-base', 'erlang-base-hipe') }}"
Expand Down
5 changes: 3 additions & 2 deletions vars/redhat.yml
Expand Up @@ -14,7 +14,8 @@
# limitations under the License.

_rabbitmq_install_method: external_repo
_rabbitmq_package_version: 3.8.9-1
_rabbitmq_package_version: 3.8.14-1
_erlang_package_version: 23.2.3-1

_rabbitmq_repo_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/el/{{ ansible_distribution_major_version }}/$basearch"
_rabbitmq_repo:
Expand All @@ -31,5 +32,5 @@ _rabbitmq_erlang_repo:
filename: els-erlang

rabbitmq_distro_packages:
- "erlang-22.3-1.el{{ ansible_distribution_major_version }}.x86_64"
- "erlang-{{ _erlang_package_version }}.el{{ ansible_distribution_major_version }}.x86_64"
- "rabbitmq-server-{{ rabbitmq_package_version }}.el{{ ansible_distribution_major_version }}.noarch"
52 changes: 0 additions & 52 deletions vars/ubuntu-20.04.yml

This file was deleted.

0 comments on commit bd355fc

Please sign in to comment.