openstack-ansible/playbooks/repo-build.yml
Jesse Pretorius 797dbb6de6 Remove hard-coded pip indexes from repo-build playbook
With the repo build process pip indexes being optional, and the AIO
process making use of the OpenStack-CI provided pip.conf file, the
indexes no longer need to be set in the playbook.

This patch removes them, allowing the pip indexes to be entirely
controlled by the user.

Change-Id: I22c6fc38164b47b9ffa10de6de73a57c3e071c60
Depends-On: I25e4faecbffad6301509c62f55c34ba86b92a658
2016-03-31 19:28:00 +00:00

48 lines
1.4 KiB
YAML

---
# Copyright 2015, 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.
- name: Build new repo packages for a given release
hosts: repo_all[0]
gather_facts: true
user: root
pre_tasks:
- name: Load local packages
debug:
msg: "Loading Packages"
with_py_pkgs: "{{ pkg_locations }}"
register: local_packages
tags:
- repo-clone-repos
- repo-set-requirements
- repo-get-global-requirements
- repo-set-requirement-names
- repo-set-requirement-names-filtered
- repo-set-constraints
- repo-build-constraints-file
- repo-create-venv-archive
- repo-venv-compress-archive
- repo-build-venvs
- repo-create-venv-checksum
roles:
- role: "repo_build"
repo_build_release_tag: "{{ openstack_release }}"
tags:
- "repo-build"
vars:
pkg_locations:
- ../
- /etc/ansible/roles
- /etc/openstack_deploy