library/roles/python-virtualenv: First bits of a python virtualenv role.
This commit is contained in:
parent
3b38499d22
commit
3411e2b110
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
py_virtenv_install: True
|
||||
py_virtenv_pkgs_state: installed
|
||||
py_virtenv_pkgs:
|
||||
- python-pip
|
||||
- python-virtualenv
|
||||
|
||||
py_virtenv_pip_pkgs:
|
||||
|
||||
py_virtenv_env_path:
|
||||
- /tmp
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install the python virtualenv packages
|
||||
apt: name={{ item }} state={{ py_virtenv_pkgs_state }}
|
||||
with_items: py_virtenv_pkgs
|
||||
tags: [ "python", "py_virtenv" ]
|
Loading…
Reference in New Issue