[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Update gettor tasks
commit ced418a9cef88b409aa4cb7f5261da663198f6e5
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Sat Aug 31 15:58:03 2019 +0200
Update gettor tasks
---
roles/gettor/tasks/main.yml | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index b9cb3c6..c76e060 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -11,22 +11,20 @@
- name: export stats
command: >
- ./scripts/export_stats
- args:
- chdir: "{{ gettor_path }}"
+ {{ gettor_path }}/scripts/export_stats
- name: create virtualenv
command: >
- virtualenv {{ gettor_path }/venv
+ virtualenv {{ gettor_path }}/venv
args:
chdir: "{{ gettor_path }}"
- name: activate virtualenv
command: >
- source {{ gettor_path }/venv/bin/activate
+ source {{ gettor_path }}/venv/bin/activate
args:
chdir: "{{ gettor_path }}"
-
+
- name: create database
command: >
{{ gettor_path }}/scripts/create_db -n -c -o
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits