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

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



commit 0a829a36b02d2e6ada5cdabb1f447c77a53c64e8
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Sat Aug 31 16:13:44 2019 +0200

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

diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 30081c2..8c8d61c 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -19,12 +19,16 @@
   args:
     chdir: "{{ gettor_path }}"
 
+- name: create virtualenv
+  command: >
+    source {{ gettor_path }}/venv/bin/activate
+  args:
+    chdir: "{{ gettor_path }}"
+
 - name: create database
-  template: src=venv_exec.j2 dest={{ gettor_path }}/venv/exec mode=755
   command: >
     {{ gettor_path }}/scripts/create_db -n -c -o
 
-
 - name: add links
   command: >
     {{ gettor_path }}/scripts/add_links_to_db -f gettor.db

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