mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
495 B
16 lines
495 B
9 years ago
|
---
|
||
|
- name: install virtualenv
|
||
|
action: pip executable=pip3 name=virtualenv state=present
|
||
|
|
||
|
- name: copy requirements
|
||
|
action: copy src=../requirements dest=/tmp
|
||
|
|
||
|
- name: create virtual environment
|
||
|
action: file dest={{ venv }} state=directory
|
||
|
|
||
|
- name: install requirements
|
||
|
action: pip executable=pip3 virtualenv={{ venv }} virtualenv_python=python3 requirements=/tmp/requirements/{{ group_names[0] }}.txt extra_args='--upgrade --force-reinstall'
|
||
|
register: requirements
|
||
|
tags:
|
||
|
- reqs
|