ansible-nginx-uwsgi-supervisor/pre_deployment/python.yaml

19 lines
351 B
YAML

---
- hosts: all
sudo: yes
tasks:
- name: Setup Python setuptools dependencies
apt: pkg={{ item }} state=present
with_items:
- python-dev
- python-setuptools
- name: Bootstrap PIP using Setuptools
easy_install: name=pip
- name: Basic Python dependencies
pip: name={{ item }}
with_items:
- virtualenv