pasteque: Missing gunicorn.
This commit is contained in:
parent
dfdcb0c47f
commit
1031870c45
|
@ -31,6 +31,22 @@
|
|||
dest: "/etc/nginx/conf.d/{{ domain }}.conf"
|
||||
notify: reload nginx
|
||||
|
||||
- name: Install gunicorn in venv
|
||||
pip:
|
||||
name: gunicorn
|
||||
virtualenv_command: "/usr/bin/python3 -m venv"
|
||||
virtualenv: "$HOME/.venv/"
|
||||
become: true
|
||||
become_user: "{{ owner }}"
|
||||
|
||||
- name: Install dependencies in venv
|
||||
pip:
|
||||
requirements: "$HOME/pasteque/requirements.txt"
|
||||
virtualenv_command: "/usr/bin/python3 -m venv"
|
||||
virtualenv: "$HOME/.venv/"
|
||||
become: true
|
||||
become_user: "{{ owner }}"
|
||||
|
||||
- name: Configure systemd
|
||||
copy:
|
||||
dest: /etc/systemd/system/pasteque.service
|
||||
|
|
Loading…
Reference in New Issue