misc update

This commit is contained in:
vincent 2020-01-29 21:58:09 +01:00
parent 99f7ea0996
commit c5fe856e1a

View File

@ -24,7 +24,7 @@
notify: notify:
- restart nginx - restart nginx
- restart service - restart service
- name: - name: check that temp folder is absent
file: file:
path: "/tmp/{{name}}" path: "/tmp/{{name}}"
state: absent state: absent
@ -39,9 +39,9 @@
- name: create venv - name: create venv
pip: pip:
requirements: "{{source_location}}/requirements.txt" requirements: "{{source_location}}/requirements.txt"
virtualenv: "{{venv_location}}{{venv_name}}" virtualenv: "{{venv_location}}{{venv_name}}"
virtualenv_command: /usr/bin/python -m venv virtualenv_command: /usr/bin/python -m venv
- name: install gunicorn - name: install gunicorn