[tor-commits] [gettor/master] Update gettor tasks
hiro at torproject.org
hiro at torproject.org
Sat Aug 31 13:54:34 UTC 2019
commit 9602a02c8d1fb9ec21ff50c17014056ab06d8cce
Author: hiro <hiro at torproject.org>
Date: Sat Aug 31 15:54:31 2019 +0200
Update gettor tasks
---
roles/gettor/tasks/main.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 0a7ae53..b9cb3c6 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -18,11 +18,15 @@
- name: create virtualenv
command: >
virtualenv {{ gettor_path }/venv
+ 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
More information about the tor-commits
mailing list