[tor-commits] [gettor/master] Update gettor roles w virtualenv

hiro at torproject.org hiro at torproject.org
Sat Aug 31 13:14:13 UTC 2019


commit afe5a7e0e3cfb223e755a3daff1c6175776388eb
Author: hiro <hiro at 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



More information about the tor-commits mailing list