This commit adds the ability to install glance without requiring an OpenStack-Ansible pip wheel repository. In 'developer mode' the git source is cloned directly and the services are installed directly from the git clone with its requirements being installed from pypi. The OpenStack upper-constraints file is also used to ensure that the install is executed using the appropriately tested set of pypi packages. The following variables are added: - designate_developer_mode: A boolean switch to enable/disable developer mode. - designate_git_repo: The git repository to clone Designate from. - designate_git_install_branch: The branch, tag or SHA to checkout once the designate repository has been cloned. - designate_requirements_git_repo: The git repository to clone in order to retrieve the upper-constraints file. - designate_requirements_git_install_branch: The branch, tag or SHA to checkout once the requirements repository has been cloned. The testing playbook overrides the *_install_branch variables to fixed SHA's in order to fix points in time at which updates are made. This reduces the effect of upstream development changes on the OpenStack-Ansible development cycle.
39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
---
|
|
# Copyright 2016, Tata Consultancy Services
|
|
#
|
|
# 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: Installation and setup of designate
|
|
company: Rackspace
|
|
license: Apache2
|
|
min_ansible_version: 1.6.6
|
|
platforms:
|
|
- name: Ubuntu
|
|
versions:
|
|
- trusty
|
|
categories:
|
|
- cloud
|
|
- python
|
|
- designate
|
|
- development
|
|
- openstack
|
|
dependencies:
|
|
- apt_package_pinning
|
|
- galera_client
|
|
- openstack_openrc
|
|
- role: pip_lock_down
|
|
when:
|
|
- not designate_developer_mode | bool
|