commit afe5a7e0e3cfb223e755a3daff1c6175776388eb Author: hiro hiro@torproject.org Date: Sat Aug 31 15:14:09 2019 +0200
Update gettor roles w virtualenv --- roles/gettor/tasks/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml index 83a766b..f082c72 100644 --- a/roles/gettor/tasks/main.yml +++ b/roles/gettor/tasks/main.yml @@ -15,14 +15,6 @@ command: > {{ gettor_path }}/scripts/export_stats
-- name: create database - command: > - {{ gettor_path }}/scripts/create_db -n -c -o - -- name: add links - command: > - {{ gettor_path }}/scripts/add_links_to_db -f gettor.db - - name: virtualenv start command: > virtualenv venv @@ -35,6 +27,14 @@ environment: PATH: "{{ gettor_path }}"
+- name: create database + command: > + {{ gettor_path }}/scripts/create_db -n -c -o + +- name: add links + command: > + {{ gettor_path }}/scripts/add_links_to_db -f gettor.db + - name: stop gettor command: > {{ gettor_path }}/bin gettor_service stop
tor-commits@lists.torproject.org