The apt-key module is deprecated so the code is refactored to allow any of the deb822_repository features to used instead. Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-apt_package_pinning/+/927903 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/907886 Change-Id: I96f1f23d6a1cca223ad4fc48a1caa21833a98b22
50 lines
1.9 KiB
YAML
50 lines
1.9 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_package_version: "3.13.3-1"
|
|
|
|
_rabbitmq_repo_url: "https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/{{ ansible_facts['distribution'] | lower }}"
|
|
_rabbitmq_repo:
|
|
- name: "RabbitMQ"
|
|
suites: "{{ ansible_facts['distribution_release'] | lower }}"
|
|
uris: "{{ rabbitmq_repo_url }}"
|
|
signed_by: "{{ lookup('file', 'gpg/C072C960') }}"
|
|
components: main
|
|
architectures: "{{ ansible_facts['architecture'] }}"
|
|
state: "{{ (rabbitmq_install_method == 'external_repo') | ternary('present', 'absent') }}"
|
|
|
|
_rabbitmq_erlang_repo_url: "https://ppa1.novemberain.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: "{{ ansible_facts['architecture'] }}"
|
|
state: "{{ (rabbitmq_install_method == 'external_repo') | ternary('present', 'absent') }}"
|
|
|
|
_rabbitmq_erlang_version_spec: "{{ (rabbitmq_install_method == 'external_repo') | ternary('1:26.2.*-1', '1:24.*') }}"
|
|
|
|
rabbitmq_dependencies:
|
|
- erlang-base
|
|
- erlang-diameter
|
|
- erlang-eldap
|
|
- erlang-nox
|
|
- socat
|
|
|
|
rabbitmq_distro_packages:
|
|
- rabbitmq-server
|