Files
openstack-ansible-rabbitmq_…/vars/debian.yml
Jean-Philippe Evrard 84ede176b9 Add repo installation method
In some cases, deployers may want to use a repo instead of a deb
file (limited connectivity, repo mgmt  tools already in place, ...)

This commit introduces this behavior in an optional manner: The
default behavior is still using a deb file. If using an external
repository, the repo used will be RabbitMQ recommended one hosted
on packagecloud.io.

Change-Id: If366d7411cffd59e4988ceba6fc47eac2b384ddf
2016-12-15 10:26:42 +00:00

39 lines
1.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_package_url: "http://www.rabbitmq.com/releases/rabbitmq-server/v3.6.5/rabbitmq-server_3.6.5-1_all.deb"
_rabbitmq_package_version: "{{ rabbitmq_package_url.split('/')[-1].split('_')[1] }}"
_rabbitmq_release_version: "{{ rabbitmq_package_version.split('-')[0] }}"
_rabbitmq_package_sha256: "9de570ca9e3d30bdc26a79c683503e158d35e5cacafb36e4e9b01d73929bf5a9"
_rabbitmq_package_path: "/opt/rabbitmq-server.deb"
rabbitmq_dependencies:
- erlang-base-hipe
- erlang-nox
- socat
rabbitmq_distro_packages:
- rabbitmq-server
rabbitmq_gpg_keys:
- key_name: 'rabbitmq'
keyserver: 'hkp://keyserver.ubuntu.com:80'
fallback_keyserver: 'hkp://p80.pool.sks-keyservers.net:80'
hash_id: '0x6B73A36E6026DFCA'
rabbitmq_apt_repo_url: "http://www.rabbitmq.com/debian"
rabbitmq_repo:
repo: "deb {{ rabbitmq_apt_repo_url }} testing main"
state: "present"