--- # 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. # # Required variables # # The path where venvs are extracted to # on the target host during an install, for example: # venv_install_destination_path: "/openstack/venvs/myvenv" # # Optional variables # # Distribution packages which must be installed # on the host for the purpose of building the venv. venv_build_distro_package_list: [] # Distribution packages which must be installed # on the host when installing the venv. venv_install_distro_package_list: [] # Set the package install state for packages # Options are 'present' and 'latest' venv_distro_package_state: "latest" venv_pip_package_state: "latest" # The time in seconds that the distribution package # cache is valid for. This is only used by the apt # and zypper package managers. venv_distro_cache_valid_time: 600 # Python packages which must be installed # into the venv. venv_pip_packages: [] # Arguments to pass to pip when installing into the venv venv_pip_install_args: "" # The python executable to use for creating the venv venv_python_executable: "python2" # Enable the ability to *only* do the build, so that # the build host can be pre-populated with the venvs. venv_build_only: no # Enable the packaging of venvs, so that they can # be used for installation. venv_build_package: yes # Enable the use of wheels to speed up the venv # build process, especially when building multiple # venvs. venv_build_wheels: yes # The path where the wheels are cached on the build host # for speeding up the build process. venv_build_wheel_path: "{{ lookup('env', 'HOME') }}/archive/wheels" # The path where the venvs are archived on the build host # to be reused for installations. venv_build_archive_path: "{{ lookup('env', 'HOME') }}/archive/venvs" # The path where a built venv is sourced from when # installing. If the path set begins with https(s):// # then the install process will recognise the source # is a web server. Otherwise the path is assumed to # be on the deployment host. venv_install_source_path: "{{ lookup('env', 'HOME') }}/archive/venvs" # The facts to set when the venv changes during a # build, or the installation of a venv. # Eg: # set_facts_when_changed: # - section: glance # option: venv_tag # value: "{{ glance_venv_tag }}" venv_facts_when_changed: [] # The INI file name to use for the fact setting. venv_facts_dest: "openstack_ansible"