[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Update files for syntax
commit babded50767c13e9dfa49ca4e20fd969c4c6a6d0
Author: hiro <hiro@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits