8000 Always create a new venv when provisioning · python/pythondotorg@b815845 · GitHub
[go: up one dir, main page]

Skip to content

Commit b815845

Browse files
Jaap Roesberkerpeksag
authored andcommitted
Always create a new venv when provisioning
1 parent 2eee8b3 commit b815845

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

provisioning/pythondotorg.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
clone=no
7676
update=no
7777

78+
- name: Ensure fresh virtual environment
79+
file:
80+
path: "{{ project.virtualenv }}"
81+
state: absent
82+
7883
- name: Install dependencies for the Django app inside virtual environment
7984
pip: virtualenv={{ project.virtualenv }}
8085
virtualenv_command="/usr/bin/python3 -m venv"

0 commit comments

Comments
 (0)
0