cdriehuys.virtualenv

cdriehuys.virtualenv

This role creates a Python virtual environment.

Requirements

None.

Role Variables

Here are the variables used in this role and their default values.

# How long the apt cache is valid after an update
apt_cache_time: 3600

venv: /opt/virtualenvs/venv     # Path to the virtual environment
venv_packages: [python3]        # List of packages needed to create the virtual environment
venv_python: python3            # Version of Python to use for the virtual environment
venv_requirements: (undefined)  # If set, these packages will be installed in the virtual environment

# Ownership settings
venv_owner: (undefined)
venv_group: (undefined)

Dependencies

None.

Example Playbook

To use this role, include it like this:

- hosts: all
  roles:
     - cdriehuys.virtualenv

License

MIT

Author Information

Chathan Driehuys (cdriehuys@gmail.com)

Informazioni sul progetto

Create a python virtualenv.

Installa
ansible-galaxy install cdriehuys.virtualenv
Licenza
mit
Download
6.2k
Proprietario
Software developer from North Carolina.