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

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



commit 4ba3f982c96e3dd67f7838db57b5e34f7c9f7ee2
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Sat Aug 31 16:10:19 2019 +0200

    Update gettor tasks
---
 roles/gettor/tasks/main.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index c76e060..3a2aa48 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -19,15 +19,10 @@
   args:
     chdir: "{{ gettor_path }}"
 
-- name: activate virtualenv
-  command: >
-    source {{ gettor_path }}/venv/bin/activate
-  args:
-    chdir: "{{ gettor_path }}"
-
 - name: create database
   command: >
     {{ gettor_path }}/scripts/create_db -n -c -o
+  template: src=venv_exec.j2 dest={{ gettor_path }}/venv/exec mode=755
 
 - name: add links
   command: >

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