[tor-commits] [gettor/master] Update files for syntax
hiro at torproject.org
hiro at torproject.org
Sat Aug 31 12:40:23 UTC 2019
commit babded50767c13e9dfa49ca4e20fd969c4c6a6d0
Author: hiro <hiro at torproject.org>
Date: Sat Aug 31 14:40:21 2019 +0200
Update files for syntax
---
roles/gettor/tasks/main.yml | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 707cf7b..98872fa 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -3,42 +3,34 @@
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 }}"
-
+ PATH: "{{ gettor_path }}"
- name: virtualenv activate
command: >
source venv/bin/activate
environment:
- PATH: "{{ gettor_path }}"
-
+ 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