b032b0b17e6875e28e6a9fd4a56791bdc3ebf7aa
[osm/vim-emu.git] / ansible / install.yml
1 # Copyright (c) 2015 SONATA-NFV and Paderborn University
2 # ALL RIGHTS RESERVED.
3
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16 # Neither the name of the SONATA-NFV, Paderborn University
17 # nor the names of its contributors may be used to endorse or promote
18 # products derived from this software without specific prior written
19 # permission.
20 #
21 # This work has been performed in the framework of the SONATA project,
22 # funded by the European Commission under Grant number 671517 through
23 # the Horizon 2020 and 5G-PPP programmes. The authors would like to
24 # acknowledge the contributions of their colleagues of the SONATA
25 # partner consortium (www.sonata-nfv.eu).
26
27 - hosts: localhost
28   tasks:
29    - name: updates apt
30      apt: update_cache=yes
31      
32    - name: install python-dev
33      apt: pkg=python-dev state=installed
34
35    - name: install libffi-dev
36      apt: pkg=libffi-dev state=installed
37
38    - name: install libssl-dev
39      apt: pkg=libssl-dev state=installed
40
41    - name: install pip
42      apt: pkg=python-pip state=installed
43
44    - name: install setuptools
45      pip: name=setuptools state=latest
46
47    - name: install tabulate
48      pip: name=tabulate state=latest
49
50    - name: install argparse
51      pip: name=argparse state=latest
52
53    - name: install networkx
54      pip: name=networkx state=latest
55
56    - name: install six
57      pip: name=six state=latest
58
59    - name: install ryu
60      pip: name=ryu state=latest
61      
62    - name: install oslo.config
63      pip: name=oslo.config state=latest
64
65    - name: install pytest
66      pip: name=pytest state=latest
67
68    - name: install Flask
69      pip: name=Flask state=latest
70
71    - name: install flask_restful
72      pip: name=flask_restful state=latest
73
74    - name: install requests
75      pip: name=requests state=latest
76
77    - name: install docker
78      pip: name=docker version=2.0.2
79
80    - name: install prometheus_client
81      pip: name=prometheus_client state=latest
82
83    - name: install latest urllib3 (fix error urllib3.connection.match_hostname = match_hostname)
84      pip: name=urllib3 version=1.21.1
85
86    - name: install iptc
87      pip: name=python-iptables state=latest
88
89    - name: install ipaddress
90      pip: name=ipaddress state=latest
91
92    #- name: install urllib
93    #  pip: name=urllib state=latest
94
95
96