Add experimental support for ubuntu focal.
This uses the rabbitmq/erlang packages from the ubuntu repo itself rather than a specific version from packagecloud. This should be updated once official versioned packages are published. Change-Id: I28ef6f425aac038989fc9981caf9589b3a8c3617
This commit is contained in:
parent
7aa3d4a9ca
commit
9fa1b1b9ed
52
vars/ubuntu-20.04.yml
Normal file
52
vars/ubuntu-20.04.yml
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
# 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.
|
||||
|
||||
# NOTE(jrosser) this is set to distro as there is no rabbitmq package currently for focal at packagecloud
|
||||
_rabbitmq_install_method: distro
|
||||
_rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/{{ ansible_distribution | lower }}/{{ ansible_distribution_release | lower }}/rabbitmq-server_3.8.2-1_all.deb/download.deb"
|
||||
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-2].split('_')[1] }}"
|
||||
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}"
|
||||
_rabbitmq_package_sha256: "aebdb80be49fe3adbf99c859006d8a503f531be79a0cd0712a30341e4c72054f"
|
||||
_rabbitmq_package_path: "/opt/rabbitmq-server.deb"
|
||||
|
||||
_rabbitmq_gpg_keys:
|
||||
- file: gpg/4D206F89
|
||||
- file: gpg/A14F4FCA
|
||||
|
||||
_rabbitmq_repo_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/{{ ansible_distribution | lower }}"
|
||||
_rabbitmq_repo:
|
||||
repo: "deb {{ rabbitmq_repo_url }} {{ ansible_distribution_release | lower }} main"
|
||||
# NOTE(jrosser) this is set to absent as there is no rabbitmq package currently for focal at packagecloud
|
||||
state: "absent"
|
||||
filename: "RabbitMQ"
|
||||
|
||||
_rabbitmq_erlang_repo_url: "https://packages.erlang-solutions.com/{{ ansible_distribution | lower }}"
|
||||
_rabbitmq_erlang_repo:
|
||||
repo: "deb {{ rabbitmq_erlang_repo_url }} {{ ansible_distribution_release | lower }} contrib"
|
||||
# NOTE(jrosser) this is set to absent as there is no erlang package currently for focal at packagecloud
|
||||
state: "absent"
|
||||
filename: els_erlang
|
||||
|
||||
_rabbitmq_erlang_version_spec: "1:22.*"
|
||||
|
||||
rabbitmq_dependencies:
|
||||
- "{{ (ansible_architecture == 'aarch64') | ternary('erlang-base', 'erlang-base-hipe') }}"
|
||||
- erlang-diameter
|
||||
- erlang-eldap
|
||||
- erlang-nox
|
||||
- socat
|
||||
|
||||
rabbitmq_distro_packages:
|
||||
- rabbitmq-server
|
Loading…
Reference in New Issue
Block a user