[tor-commits] [gettor/master] Update files for syntax
hiro at torproject.org
hiro at torproject.org
Sat Aug 31 12:47:57 UTC 2019
commit e6da89b19bcff73123c48a313fce628a70e25722
Author: hiro <hiro at torproject.org>
Date: Sat Aug 31 14:47:54 2019 +0200
Update files for syntax
---
roles/gettor/tasks/main.yml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 8a6e93c..83a766b 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -1,9 +1,20 @@
---
- name: check if repository exists
stat:
- path: "{{ gettor_path }}/.git/config"
+ 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
More information about the tor-commits
mailing list