Commit de8d6688 by Vik Paruchuri

fix command running

parent fc67467d
......@@ -88,13 +88,13 @@
virtualenv={{venv_dir}}
- name: django migrate for ml-service-api
shell: command="{{venv_dir}}/bin/activate; cd {{ml_api_dir}}; python manage.py migrate --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}"
command: cd {{ml_api_dir}}; {{venv_dir}}/bin/python manage.py migrate --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}
- name: django collectstatic for ml-service-api
shell: command="{{venv_dir}}/bin/activate; cd {{ml_api_dir}}; python manage.py collectstatic --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}"
command: cd {{ml_api_dir}}; {{venv_dir}}/bin/python manage.py collectstatic --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}
- name: django update_index for ml-service-api
shell: command="{{venv_dir}}/bin/activate; cd {{ml_api_dir}}; python manage.py update_index --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}"
command: cd {{ml_api_dir}}; {{venv_dir}}/bin/python manage.py update_index --noinput --settings={{ml_api_settings}} --pythonpath={{ml_api_dir}}
- name: render celery service from template
template: src=celery.conf.j2 dest=/etc/init/celery.conf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment