[tor-commits] [gettor/master] Activate virtualenv

hiro at torproject.org hiro at torproject.org
Tue Sep 3 15:15:53 UTC 2019


commit 075d12f12092b115cb8a359e0c9f65ae34f19be4
Author: hiro <hiro at torproject.org>
Date:   Tue Sep 3 17:13:50 2019 +0200

    Activate virtualenv
---
 roles/gettor/tasks/main.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index fadacb6..4363f99 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -21,6 +21,9 @@
   args:
     chdir: "{{ gettor_path }}"
 
+- name: activate virtualenv
+  command: . { gettor_path }}/venv/bin/activate
+
 - name: create database
   command: >
     {{ gettor_path }}/venv/bin/python3 {{ gettor_path }}/scripts/create_db -n -c -o



More information about the tor-commits mailing list