openstack-ansible-pip_install/defaults/main.yml

128 lines
4.7 KiB
YAML

---
# Copyright 2014, 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.
uca_enable: True
uca_apt_repo_url: "http://ubuntu-cloud.archive.canonical.com/ubuntu"
# If you want to use your own keys for UCA or RDO (instead of ubuntu or
# CentOS defaults), please define user_external_repo_key_list, a list
# of dictionaries, each dict with keys/values corresponding to the
# ansible module arguments for your distribution.
#
# For CentOS you'd define the following:
#user_external_repo_keys_list:
# - key: https://my-repo.example.com/signing-key.asc
# You could also use key: <keyid> from a keyserver, see ansible rpm_key doc.
# Validate cert option from the module is also supported.
# In CentOS, refusing to use the RDO package also forces you to add your own
# repository. See below to know how to include your own repository.
#
# For Ubuntu, you'd define the following:
#user_external_repo_keys_list:
# - url: https://my-repo.example.com/signing-key.asc
# This leverages apt_key module, and passes the id, keyserver, and url argument.
# Therefore, you can ensure the id of the key you want to import with id: <keyid>
# or replace the source url with a keyserver.
user_external_repo_keys_list: []
# If you have defined another set of keys you want to include, the chances are
# high you want to give also your own repository.
# For CentOS, define the following list +key/values:
#user_external_repos_list:
# - name: "mymirror"
# baseurl: "http://mymirrorurl/baseurl/"
#See also gpgcheck, gpgkey, description of the Ansible yum_repository module
# For Ubuntu, define something like the following:
#user_external_repos_list:
# - repo: "deb http://mymirrorurl/ubuntu/ xenial main"
# filename: "mymirror"
# If your mirror includes UCA mirroring, you may then want to disable using uca
# by setting in your user variables uca_enable: False
user_external_repos_list: []
# Set the package install state for distribution packages
# Options are 'present' and 'latest'
pip_install_package_state: "latest"
## Path to pip download/installation script.
pip_upstream_url: https://bootstrap.pypa.io/get-pip.py
pip_fallback_url: https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py
# Allow the deployer to force pip to download locally to the deployment host
# and copy it to the remote container for installation. Useful for environments
# where the containers lack internet access.
pip_offline_install: false
pip_tmp_packages: /tmp/pip_install
# Additional options that you might want to pass to "get-pip.py" when installing pip.
# Default `pip_get_pip_options` is an empty string.
pip_get_pip_options: ""
pip_source_install_options: ""
# The URL/path of a constraints file to use when installing the additional pip packages.
#pip_install_upper_constraints: "http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt"
pip_install_distro_packages: "{{ pip_install_build_packages | ternary(pip_install_distro_build_packages, []) }}"
pip_install_remove_distro_packages: []
pip_install_distro_build_packages: []
# Some pip installations require the system to have a compiler present
# Toggling this will install a compiler and python-dev libraries to the host
pip_install_build_packages: yes
# This list var can be used to specify specific versions of pip, setuptools,
# wheel and any other packages which must be installed when pip installs.
pip_packages:
- pip
pip_required_pip_packages: []
## APT Cache options
cache_timeout: 600
# Validate Certificates when downloading pip. May be set to "no" when proxy server
# is intercepting the certificates.
pip_validate_certs: "yes"
pip_lock_to_internal_repo: False
# Options for pip global
pip_enable_pre_releases: true
pip_timeout: 120
# Options for pip install
pip_upgrade: true
# Drop link files to lock down pip
# Example:
# pip_links:
# - name: "openstack_release"
# link: "{{ openstack_repo_url }}/os-releases/{{ openstack_release }}/"
pip_links: []
## Tunable overrides
pip_global_conf_overrides: {}
## Additional options to pass to pip
# Example:
# pip_install_options: "--cert /etc/ssl/certs/ca-certificates.crt"
#
# See the documentationat https://pip.pypa.io/en/stable/reference/pip
# for details.
pip_install_options: ""
# Always force getting the latest get-pip script
pip_get_pip_force: yes