|
@@ -116,7 +116,7 @@
|
|
|
# setuptools is excluded on Stretch, because it would pull-in the
|
|
|
# pkg-resources package that then messes with pip freeze etc.
|
|
|
- name: Create Python virtual environment
|
|
|
command: '/usr/bin/virtualenv {{ no_setuptools }} --python "{{ python_interpreter }}" --prompt "({{ fqdn }})" "{{ home }}/virtualenv"'
|
|
|
command: '/usr/bin/virtualenv --no-setuptools --python "{{ python_interpreter }}" --prompt "({{ fqdn }})" "{{ home }}/virtualenv"'
|
|
|
args:
|
|
|
creates: "{{ home }}/virtualenv/bin/{{ python_interpreter | basename }}"
|
|
|
become: true
|