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