From 235d912059b9b67659cc7fe8a9af67f683430b8e Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 17 May 2021 15:35:55 +0000 Subject: [PATCH] Add debian bullseye support Packages for bullseye are only availble from the distro repository as there are no officially provided packages from RabbitMQ or Erlang Solutions yet. Change-Id: I8515470997982ccb765b6e3bbc824a5445d99f86 --- tasks/install_apt.yml | 2 ++ vars/debian-11.yml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 vars/debian-11.yml diff --git a/tasks/install_apt.yml b/tasks/install_apt.yml index f355975a..c75da5f5 100644 --- a/tasks/install_apt.yml +++ b/tasks/install_apt.yml @@ -69,6 +69,8 @@ filename: "{{ rabbitmq_erlang_repo.filename | default(omit) }}" update_cache: no register: add_erlang_repos + when: + - rabbitmq_erlang_repo.repo is defined tags: - rabbitmq-repos diff --git a/vars/debian-11.yml b/vars/debian-11.yml new file mode 100644 index 00000000..37a54f4e --- /dev/null +++ b/vars/debian-11.yml @@ -0,0 +1,31 @@ +--- +# Copyright 2021. BBC R&D +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +_rabbitmq_install_method: distro +_rabbitmq_package_version: "3.8.9-3" + +_rabbitmq_erlang_version_spec: "23.2.6+dfsg-1" + +_rabbitmq_gpg_keys: [] + +rabbitmq_dependencies: + - "{{ (ansible_facts['architecture'] == 'aarch64') | ternary('erlang-base', 'erlang-base-hipe') }}" + - erlang-diameter + - erlang-eldap + - erlang-nox + - socat + +rabbitmq_distro_packages: + - rabbitmq-server