[tor-commits] [gettor/master] Update gettor tasks

hiro at torproject.org hiro at torproject.org
Sat Aug 31 13:53:35 UTC 2019


commit 5e1ac73a4cdd5bf2f2dd13069e062679f7defb71
Author: hiro <hiro at torproject.org>
Date:   Sat Aug 31 15:53:32 2019 +0200

    Update gettor tasks
---
 roles/gettor/tasks/main.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index b6b28ab..0a7ae53 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -17,15 +17,11 @@
 
 - name: create virtualenv
   command: >
-    virtualenv venv
-  args:
-    chdir: "{{ gettor_path }}"
+    virtualenv {{ gettor_path }/venv
 
 - name: activate virtualenv
   command: >
-    source venv/bin/activate
-  args:
-    chdir: "{{ gettor_path }}"
+    source {{ gettor_path }/venv/bin/activate
 
 - name: create database
   command: >



More information about the tor-commits mailing list