ansible-role-python_venv_build/defaults/main.yml

56 lines
1.7 KiB
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.
# The list of distribution packages to install
distro_package_list: []
# Set the package install state for packages
# Options are 'present' and 'latest'
distro_package_state: "latest"
# The time in seconds that the distribution package
# cache is valid for. This is only used by the apt
# package manager
distro_cache_valid_time: 600
# Python packages which must be installed
# on to the host
host_pip_packages: []
# Python packages which must be installed
# into the venv
venv_pip_packages: []
# General pip install constraints
pip_install_constraints: ""
# Specific constraints for the venv
pip_install_venv_constraints: ""
# General pip install extra options
# This is especially useful for proxy options
pip_install_options: ""
# The path where venvs are stored on the
# deployment host
venv_download_path: "{{ lookup('env', 'HOME') | default('/opt', true) }}/cache/files"
# The owner of the venv_download_path
venv_download_path_owner: "{{ lookup('env', 'USER') | default('root', true) }}"
# The path where venvs are extracted to
# on the target host, for example:
# venv_destination_path: "/openstack/venvs/myvenv"