ansible-rookeries/pre_deployment/python.yaml

19 lines
366 B
YAML
Raw Normal View History

---
- 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 }} use_mirrors=no
with_items:
- virtualenv