commit e6da89b19bcff73123c48a313fce628a70e25722 Author: hiro hiro@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