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

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



commit 5e1ac73a4cdd5bf2f2dd13069e062679f7defb71
Author: hiro <hiro@xxxxxxxxxxxxxx>
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: >

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