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