https://github.com/cdriehuys/ansible-role-virtualenv
Ansible role for creating a virtualenv.
https://github.com/cdriehuys/ansible-role-virtualenv
Last synced: about 2 months ago
JSON representation
Ansible role for creating a virtualenv.
- Host: GitHub
- URL: https://github.com/cdriehuys/ansible-role-virtualenv
- Owner: cdriehuys
- License: mit
- Created: 2017-04-12T18:13:02.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T08:28:48.000Z (over 1 year ago)
- Last Synced: 2025-04-02T21:06:45.579Z (3 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cdriehuys.virtualenv
=========Create a python virtualenv.
Requirements
------------None.
Role Variables
--------------The following are the variables used by the role and their defaults.
```YAML
# How long the apt cache is valid after an update
apt_cache_time: 3600venv: /opt/virtualenvs/venv # Path to virtualenv
venv_packages: [python3] # List of packages required to create the virtualenv
venv_python: python3 # Version of python to create the virtualenv with
venv_requirements: (undefined) # If given, the virtualenv will have these packages installed# Ownership settings
venv_owner: (undefined)
venv_group: (undefined)
```Dependencies
------------None.
Example Playbook
----------------To run the role, include it as follows.
- hosts: all
roles:
- cdriehuys.virtualenvLicense
-------MIT
Author Information
------------------Chathan Driehuys ([email protected])