[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 075d12f12092b115cb8a359e0c9f65ae34f19be4
Author: hiro <hiro@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits