nk20/ansible/roles/3-pip/tasks/main.yml

15 lines
450 B
YAML
Raw Normal View History

---
- name: Install PIP basic dependencies
pip:
requirements: /var/www/note_kfet/requirements/base.txt
virtualenv: /var/www/note_kfet/env
2020-07-15 07:27:11 +00:00
virtualenv_command: /usr/bin/python3 -m venv
2020-07-15 08:09:28 +00:00
become_user: www-data
- name: Install PIP production dependencies
pip:
requirements: /var/www/note_kfet/requirements/production.txt
virtualenv: /var/www/note_kfet/env
2020-07-15 07:27:11 +00:00
virtualenv_command: /usr/bin/python3 -m venv
2020-07-15 08:09:28 +00:00
become_user: www-data