Files
openstack-ansible-rabbitmq_…/vars/debian.yml
Dmitriy Rabotyagov 8e19f7b736 Change repository for deb to deb1.rabbitmq.com
RabbitMQ has changed their docs to suggest using deb1.rabbitmq.com
instead of ppa1.rabbitmq.com.

For Debian Trixie ppa1.rabbitmq.com contains only RabbitMQ 3.12,
while deb1.rabbitmq.com contains all of 3.13, 4.0 and 4.1

We leave erlang as is for now, as it's not available for Trixie yet.

Change-Id: I98dfeb1706701787e7a7e912e37910108cec3a10
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2025-10-31 14:52:24 +00:00

52 lines
2.4 KiB
YAML

---
# Copyright 2016, Walmart Stores, Inc.
#
# 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: external_repo
_rabbitmq_repo_url: >-
https://deb1.rabbitmq.com/rabbitmq-server/{{ ansible_facts['distribution'] | lower }}/{{ ansible_facts['distribution_release'] | lower }}
https://deb2.rabbitmq.com/rabbitmq-server/{{ ansible_facts['distribution'] | lower }}/{{ ansible_facts['distribution_release'] | lower }}
_rabbitmq_repo:
- name: "RabbitMQ"
suites: "{{ ansible_facts['distribution_release'] | lower }}"
uris: "{{ rabbitmq_repo_url }}"
signed_by: "{{ lookup('file', 'gpg/6026DFCA') }}"
components: main
architectures: "{{ rabbitmq_architecture_mapping.get(ansible_facts['architecture']) }}"
state: "{{ (rabbitmq_install_method == 'external_repo') | ternary('present', 'absent') }}"
_rabbitmq_erlang_repo_url: "https://ppa1.rabbitmq.com/rabbitmq/rabbitmq-erlang/deb/{{ ansible_facts['distribution'] | lower }}"
_rabbitmq_erlang_repo:
- name: "els_erlang"
suites: "{{ ansible_facts['distribution_release'] | lower }}"
uris: "{{ rabbitmq_erlang_repo_url }}"
signed_by: "{{ lookup('file', 'gpg/A16A4251') }}"
components: main
architectures: "{{ rabbitmq_architecture_mapping.get(ansible_facts['architecture']) }}"
state: "{{ (rabbitmq_install_method == 'external_repo') | ternary('present', 'absent') }}"
_rabbitmq_erlang_version_spec: "{{ (rabbitmq_install_method == 'external_repo') | ternary('=1:' ~ rabbitmq_erlang_package_version, '') }}"
rabbitmq_dependencies:
- "erlang-base{{ _rabbitmq_erlang_version_spec }}"
- "erlang-diameter{{ _rabbitmq_erlang_version_spec }}"
- "erlang-eldap{{ _rabbitmq_erlang_version_spec }}"
- "erlang-nox{{ _rabbitmq_erlang_version_spec }}"
- socat
- util-linux
rabbitmq_distro_packages:
- "rabbitmq-server{{ (rabbitmq_install_method == 'external_repo') | ternary('=' ~ rabbitmq_package_version, '') }}"