-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws_setup_python_env.yml
44 lines (37 loc) · 1.27 KB
/
aws_setup_python_env.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
- hosts: mlworker
user: ubuntu
sudo: True
tasks:
- apt: update_cache=yes
- name: install common packages needed for python application development
action: apt pkg={{item}} state=installed
with_items:
- git-core
- unzip
- libjpeg62
- libjpeg62-dev
- libfreetype6
- libfreetype6-dev
- zlib1g-dev
- build-essential
- python-dev
- python-setuptools
- python-imaging
- python-matplotlib
- python-setuptools
- python-numpy
- python-scipy
- python-sklearn
- libatlas-dev
- libatlas3gf-base
- name: install pip
action: easy_install name=pip
- name: symlink imaging library files
action: file src=/usr/lib/x86_64-linux-gnu/libfreetype.so dest=/usr/lib/libfreetype.so state=link
- name: symlink imaging library files
action: file src=/usr/lib/x86_64-linux-gnu/libz.so dest=/usr/lib/libz.so state=link
- name: symlink imaging library files
action: file src=/usr/lib/x86_64-linux-gnu/libjpeg.so.62 dest=/usr/lib/x86_64-linux-gnu/libjpeg.so state=link
- name: symlink imaging library files
action: file src=/usr/lib/x86_64-linux-gnu/libjpeg.so dest=/usr/lib/libjpeg.so state=link