[tor-commits] [gettor/master] Update gettor tasks
hiro at torproject.org
hiro at torproject.org
Sat Aug 31 14:10:22 UTC 2019
commit 4ba3f982c96e3dd67f7838db57b5e34f7c9f7ee2
Author: hiro <hiro at torproject.org>
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: >
More information about the tor-commits
mailing list