Skip to content

Repository files navigation

virtualenv

LicenseBuild Status

Platform

Project Stats

Ansible role to install virtualenv.

Tests

FamilyDistributionVersionTest Status
DebianUbuntuXenialx86_64
DebianUbuntuTrustyx86_64
DebianUbuntuPrecisex86_64

Requirements

  • ansible >= 2.0

Role Variables

  • debug: flag to run debug tasks.

  • virtualenv_version: version to be installed.

  • debug: flag to run debug tasks.

Dependencies

Playbooks

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
vars:
debug: yes
roles:
- role: ansiblebit.virtualenv
tags: [ virtualenv ]

Tags

  • configuration: configuration tasks.
  • debug: task to debug role variables.
  • installation: installation tasks.
  • validation: task to validate role variables.

Test

To run the tests you will need to install:

To run all tests against all pre-defined OS/distributions * ansible versions:

$ tox

To run tests for trusty64:

$ cd tests
$ bash test_idempotence.sh --box trusty64.vagrant.dev
# log file will be stores under tests/log

To perform debugging on a specific environment:

$ cd tests
$ vagrant up trusty64.vagrant.dev
# to provision using the test.yml playbook (as many time as you need)
$ vagrant provision trusty64.vagrant.dev
# to access the Vagrant box
$ vagrant ssh trusty64.vagrant.dev

About

Ansible role to install virtualenv.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages