0684afa2c5
The variables zun_developer_mode and zun_venv_download no longer carry any meaning. This review changes zun to do the equivalent of what developer_mode was all the time, meaning that it always builds the venv and never requires the repo server, but it will use a repo server when available. As part of this, we move the installation out of its own file because it's now a single task to include the venv build role. This is just to make it easier to follow the code. We also change include_tasks to import_tasks and include_role to import_role so that the tags in the python_venv_build role will work. As part of commit xenial testing was removed. Instead centos 7 and opensuse 15 functional tests were added. Change-Id: Ic8fc09372cf7397df6757c115b2c05dbb5db68f1
32 lines
978 B
YAML
32 lines
978 B
YAML
---
|
|
# Copyright 2018, 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.
|
|
|
|
zun_docker_repo:
|
|
- name: "OBS:Virtualization:containers"
|
|
uri: "http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_{{ ansible_distribution_version }}/"
|
|
|
|
# Common zypp packages
|
|
zun_distro_packages:
|
|
- device-mapper-persistent-data
|
|
- git
|
|
- yum-utils
|
|
- lvm2
|
|
|
|
zun_distro_compute_packages:
|
|
- docker-ce
|
|
- pciutils
|
|
|
|
zun_docker_groupname: dockerroot
|