Update and level set ubuntu installs

The rabbitmq package installed on both xenial and bionic is actually
the same, allowing the vars files to be consolidated. The package has
also been updated to the latest stable release, 3.7.8.

The repo used for distro based installs has also been changed to
packagecloud.io. New packages have not been published to rabbitmq.com
for a while, the latest release there was 3.6.15.

Change-Id: Id49a8788593c5d64fc9c149c8912565bc3b05a3f
This commit is contained in:
Jimmy McCrory 2018-11-08 15:40:10 -08:00
parent 4cd6530f8c
commit 971fff32b1
2 changed files with 7 additions and 61 deletions

View File

@ -1,53 +0,0 @@
---
# 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: file
_rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/bionic/rabbitmq-server_3.7.7-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: "72939a9474110daa158a395a60c73baaf84c896aa530efcc9ef3130a6c6fb33a"
_rabbitmq_package_path: "/opt/rabbitmq-server.deb"
_rabbitmq_gpg_keys:
- key_name: 'rabbitmq'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0x6B73A36E6026DFCA'
- key_name: 'erlang_solutions'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0xd208507ca14f4fca'
_rabbitmq_repo_url: "http://www.rabbitmq.com/debian"
_rabbitmq_repo:
repo: "deb {{ rabbitmq_repo_url }} testing main"
state: "present"
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"
state: "present"
filename: els_erlang
_rabbitmq_erlang_version_spec: "1:20.3*"
rabbitmq_dependencies:
- erlang-base-hipe
- erlang-nox
- socat
rabbitmq_distro_packages:
- rabbitmq-server

View File

@ -14,25 +14,24 @@
# limitations under the License.
_rabbitmq_install_method: file
_rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/xenial/rabbitmq-server_3.7.5-1_all.deb/download.deb"
_rabbitmq_package_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/packages/ubuntu/{{ ansible_distribution_release | lower }}/rabbitmq-server_3.7.8-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: "156163a595b5cd648ae80008eb7080392aab1de843b364b1760ec86f7d5beb32"
_rabbitmq_package_sha256: "11f70dd68e098e4dc32e3eda49ab68c795e599f3ac0b8b858014c79432173928"
_rabbitmq_package_path: "/opt/rabbitmq-server.deb"
_rabbitmq_gpg_keys:
- key_name: 'rabbitmq'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0x6B73A36E6026DFCA'
- key_name: 'packagecloud-rabbitmq'
url: 'https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey'
hash_id: '0xC2E73424D59097AB'
- key_name: 'erlang_solutions'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0xd208507ca14f4fca'
_rabbitmq_repo_url: "http://www.rabbitmq.com/debian"
_rabbitmq_repo_url: "https://packagecloud.io/rabbitmq/rabbitmq-server/{{ ansible_distribution | lower }}"
_rabbitmq_repo:
repo: "deb {{ rabbitmq_repo_url }} testing main"
repo: "deb {{ rabbitmq_repo_url }} {{ ansible_distribution_release | lower }} main"
state: "present"
filename: "RabbitMQ"