c73e469e19
For package pinning to work correctly on Ubuntu, the priority of pinning to a specific version needs to be higher than the priority of all packages coming from the ESL repo. For RedHat distros, the yum-versionlock plugin will need to be installed and used to properly pin a package to a specific version. Change-Id: Ie0c241de6a1a371969ed6e2886d6514c9419622f
52 lines
1.3 KiB
YAML
52 lines
1.3 KiB
YAML
---
|
|
# Copyright 2014, Rackspace US, 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.
|
|
|
|
galaxy_info:
|
|
author: rcbops
|
|
description: Install rabbitmq server
|
|
company: Rackspace
|
|
license: Apache2
|
|
min_ansible_version: 2.0
|
|
platforms:
|
|
- name: Ubuntu
|
|
versions:
|
|
- xenial
|
|
- name: EL
|
|
versions:
|
|
- 7
|
|
- name: opensuse
|
|
versions:
|
|
- 42.1
|
|
- 42.2
|
|
- 42.3
|
|
categories:
|
|
- cloud
|
|
- rabbitmq
|
|
- development
|
|
- openstack
|
|
dependencies:
|
|
- pip_install
|
|
- role: apt_package_pinning
|
|
apt_package_pinning_file_name: "rabbitmq.pref"
|
|
apt_package_pinning_priority: 999
|
|
apt_pinned_packages:
|
|
- package: "*"
|
|
release: "Erlang Solutions Ltd."
|
|
- package: "erlang*"
|
|
version: "1:19.3*"
|
|
priority: 1000
|
|
when:
|
|
- ansible_pkg_mgr == 'apt'
|