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
This commit is contained in:
Jonathan Rosser 2021-05-17 15:35:55 +00:00
parent 892615bbe3
commit 235d912059
2 changed files with 33 additions and 0 deletions

View File

@ -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

31
vars/debian-11.yml Normal file
View File

@ -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