[tor-commits] [gettor/master] Update gettor tasks
hiro at torproject.org
hiro at torproject.org
Sat Aug 31 13:47:29 UTC 2019
commit b6695dc9020370f2f60c523e707e67672fc4a850
Author: hiro <hiro at torproject.org>
Date: Sat Aug 31 15:47:27 2019 +0200
Update gettor tasks
---
roles/gettor/tasks/main.yml | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/roles/gettor/tasks/main.yml b/roles/gettor/tasks/main.yml
index 7f46421..9e2416a 100644
--- a/roles/gettor/tasks/main.yml
+++ b/roles/gettor/tasks/main.yml
@@ -25,17 +25,20 @@
- name: add links
command: >
{{ gettor_path }}/scripts/add_links_to_db -f gettor.db
- virtualenv: "{{ gettor_path }}/venv"
- virtualenv_command: virtualenv
+ args:
+ virtualenv: "{{ gettor_path }}/venv"
+ virtualenv_command: virtualenv
- name: stop gettor
command: >
{{ gettor_path }}/bin gettor_service stop
- virtualenv: "{{ gettor_path }}/venv"
- virtualenv_command: virtualenv
+ args:
+ virtualenv: "{{ gettor_path }}/venv"
+ virtualenv_command: virtualenv
- name: start gettor
command: >
{{ gettor_path }}/bin gettor_service start
- virtualenv: "{{ gettor_path }}/venv"
- virtualenv_command: virtualenv
+ args:
+ virtualenv: "{{ gettor_path }}/venv"
+ virtualenv_command: virtualenv
More information about the tor-commits
mailing list