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

19 lines
333 B
YAML
Raw Permalink Normal View History

---
- name: install python dev
sudo: yes
apt: pkg={{ item }} state=present
with_items:
- python-dev
- python-setuptools
- name: install pip
sudo: yes
easy_install: name=pip
- name: install virtualenv
sudo: yes
pip: name={{ item }} state=present extra_args='--upgrade'
with_items:
- pip
- virtualenv