Anton Khaldin 1e1c8b35b9 Only install to virtual environment
Remove all tasks and variables related to toggling between installation
of rally inside or outside of a Python virtual environment.
Installing within a venv is now the only supported deployment.

Additionally, a few changes have been made to make the creation of the
venv more resistant to interruptions during a run of the role.
* unarchiving a pre-built venv will now also occur when the venv
  directory is created, not only after being downloaded
* virtualenv-tools is run against both pre-built and non pre-built venvs
  to account for interruptions during or prior to unarchiving

Change-Id: I815dff623fce1440a5d60f64bf69f4f563371998
Implements: blueprint only-install-venvs
2016-07-08 04:55:14 -07:00

54 lines
1.8 KiB
YAML

---
# Copyright 2016, Comcast Corporation
#
# 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.
rally_system_group_name: rally
rally_system_user_name: rally
rally_system_user_comment: Rally System User
rally_system_user_shell: /bin/false
rally_system_user_home: "/var/lib/{{ rally_system_user_name }}"
rally_etc_directory: /etc/rally
rally_git_repo: https://git.openstack.org/openstack/rally
rally_git_install_branch: master
rally_requirements_git_repo: https://git.openstack.org/openstack/requirements
rally_requirements_git_install_branch: master
rally_developer_mode: false
rally_developer_constraints:
- "git+{{ rally_git_repo }}@{{ rally_git_install_branch }}#egg=rally"
# Name of the virtual env to deploy into
rally_venv_tag: untagged
rally_bin: "/openstack/venvs/rally-{{ rally_venv_tag }}/bin"
rally_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/rally.tgz
# Database vars
rally_galera_database: rally
rally_galera_user: rally
rally_database_connection_string: mysql+pymysql://{{ rally_galera_user }}:{{ rally_galera_password }}@{{ rally_galera_address }}/{{ rally_galera_database }}?charset=utf8
# Packages that must be installed before anything else
rally_requires_pip_packages:
- virtualenv
- virtualenv-tools
rally_pip_packages:
- setuptools
- pymysql
- rally
rally_config_overrides: {}