[tor-commits] [gettor/master] Update files for syntax

hiro at torproject.org hiro at torproject.org
Sat Aug 31 12:42:12 UTC 2019


commit dc2dab8937a4bbfe3a8405df037c18952e226187
Author: hiro <hiro at torproject.org>
Date:   Sat Aug 31 14:42:05 2019 +0200

    Update files for syntax
---
 roles/gettor/defaults/main.yml | 0
 roles/gettor/tasks/main.yml    | 8 ++++++++
 2 files changed, 8 insertions(+)

diff --git a/roles/gettor/defaults/main.yml b/roles/gettor/defaults/main.yml
deleted file mode 100644
index e69de29..0000000
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 98872fa..196ee8b 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -3,34 +3,42 @@
   stat:
     path: "{{ gettor_path }}/.git/config"
   register: stat_result
+
 - name: update gettor source
   git:
     repo: "{{ gettor_repo }}"
     dest: "{{ gettor_path }}"
     umask: '022'
   diff: false
+
 - name: export stats
   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
   environment:
     PATH: "{{ gettor_path }}"
+
 - name: virtualenv activate
   command: >
     source venv/bin/activate
   environment:
     PATH: "{{ gettor_path }}"
+
 - name: stop gettor
   command: >
     {{ gettor_path }}/bin gettor_service stop
+    
 - name: start gettor
   command: >
     {{ gettor_path }}/bin gettor_service start



More information about the tor-commits mailing list