| peusterm | d7cbd21 | 2017-09-07 08:55:14 +0200 | [diff] [blame] | 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 | |
| peusterm | 63a5538 | 2016-01-14 16:33:50 +0100 | [diff] [blame] | 27 | - hosts: localhost |
| peusterm | 61db576 | 2016-01-14 16:30:04 +0100 | [diff] [blame] | 28 | tasks: |
| 29 | - name: updates apt |
| 30 | apt: update_cache=yes |
| peusterm | c68c68e | 2016-01-14 16:57:57 +0100 | [diff] [blame] | 31 | |
| 32 | - name: install python-dev |
| 33 | apt: pkg=python-dev state=installed |
| 34 | |
| peusterm | 5877ea2 | 2016-05-11 13:44:59 +0200 | [diff] [blame] | 35 | - name: install libffi-dev |
| 36 | apt: pkg=libffi-dev state=installed |
| 37 | |
| peusterm | fa04256 | 2016-05-11 14:46:32 +0200 | [diff] [blame] | 38 | - name: install libssl-dev |
| 39 | apt: pkg=libssl-dev state=installed |
| 40 | |
| peusterm | 61db576 | 2016-01-14 16:30:04 +0100 | [diff] [blame] | 41 | - name: install pip |
| 42 | apt: pkg=python-pip state=installed |
| 43 | |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 44 | - name: install libevent-dev |
| 45 | apt: pkg=libevent-dev state=installed |
| 46 | |
| 47 | - name: install libevent-dev |
| 48 | apt: pkg=python-all-dev state=installed |
| 49 | |
| 50 | - name: find pip executable |
| 51 | shell: "which pip" |
| 52 | register: pip_path |
| 53 | |
| stevenvanrossem | 7d4bfac | 2016-02-23 10:56:43 +0100 | [diff] [blame] | 54 | - name: install setuptools |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 55 | pip: name=setuptools state=latest executable={{pip_path.stdout}} |
| stevenvanrossem | 7d4bfac | 2016-02-23 10:56:43 +0100 | [diff] [blame] | 56 | |
| peusterm | 61db576 | 2016-01-14 16:30:04 +0100 | [diff] [blame] | 57 | - name: install tabulate |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 58 | pip: name=tabulate state=latest executable={{pip_path.stdout}} |
| peusterm | 61db576 | 2016-01-14 16:30:04 +0100 | [diff] [blame] | 59 | |
| 60 | - name: install argparse |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 61 | pip: name=argparse state=latest executable={{pip_path.stdout}} |
| stevenvanrossem | a29c50c | 2016-02-16 14:37:44 +0100 | [diff] [blame] | 62 | |
| 63 | - name: install networkx |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 64 | pip: name=networkx version=1.11 executable={{pip_path.stdout}} |
| stevenvanrossem | a29c50c | 2016-02-16 14:37:44 +0100 | [diff] [blame] | 65 | |
| peusterm | a1a5ed0 | 2016-03-07 15:29:20 +0100 | [diff] [blame] | 66 | - name: install six |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 67 | pip: name=six state=latest executable={{pip_path.stdout}} |
| peusterm | a1a5ed0 | 2016-03-07 15:29:20 +0100 | [diff] [blame] | 68 | |
| peusterm | 6558156 | 2019-11-13 12:49:15 +0100 | [diff] [blame] | 69 | - name: install tinyrpc (fixed version to not break ryu) |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 70 | pip: name=tinyrpc version=1.0.3 executable={{pip_path.stdout}} |
| peusterm | 6558156 | 2019-11-13 12:49:15 +0100 | [diff] [blame] | 71 | |
| stevenvanrossem | a29c50c | 2016-02-16 14:37:44 +0100 | [diff] [blame] | 72 | - name: install ryu |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 73 | pip: name=ryu state=latest executable={{pip_path.stdout}} |
| stevenvanrossem | 0e17de2 | 2016-02-18 16:22:05 +0100 | [diff] [blame] | 74 | |
| 75 | - name: install oslo.config |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 76 | pip: name=oslo.config state=latest executable={{pip_path.stdout}} |
| cgeoffroy | 840f179 | 2016-03-03 16:53:52 +0100 | [diff] [blame] | 77 | |
| 78 | - name: install pytest |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 79 | pip: name=pytest version=4.6.4 executable={{pip_path.stdout}} |
| peusterm | e26487b | 2016-03-08 14:00:21 +0100 | [diff] [blame] | 80 | |
| 81 | - name: install Flask |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 82 | pip: name=Flask executable={{pip_path.stdout}} |
| peusterm | e26487b | 2016-03-08 14:00:21 +0100 | [diff] [blame] | 83 | |
| 84 | - name: install flask_restful |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 85 | pip: name=flask_restful state=latest executable={{pip_path.stdout}} |
| peusterm | 795f04f | 2016-03-24 10:32:18 +0100 | [diff] [blame] | 86 | |
| 87 | - name: install requests |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 88 | pip: name=requests state=latest executable={{pip_path.stdout}} |
| peusterm | 795f04f | 2016-03-24 10:32:18 +0100 | [diff] [blame] | 89 | |
| stevenvanrossem | 9cc7360 | 2017-01-27 23:37:29 +0100 | [diff] [blame] | 90 | - name: install docker |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 91 | pip: name=docker version=2.0.2 executable={{pip_path.stdout}} |
| stevenvanrossem | c6abf13 | 2016-04-14 11:15:58 +0200 | [diff] [blame] | 92 | |
| 93 | - name: install prometheus_client |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 94 | pip: name=prometheus_client state=latest executable={{pip_path.stdout}} |
| stevenvanrossem | c6abf13 | 2016-04-14 11:15:58 +0200 | [diff] [blame] | 95 | |
| peusterm | fa04256 | 2016-05-11 14:46:32 +0200 | [diff] [blame] | 96 | - name: install latest urllib3 (fix error urllib3.connection.match_hostname = match_hostname) |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 97 | pip: name=urllib3 version=1.21.1 executable={{pip_path.stdout}} |
| peusterm | fa04256 | 2016-05-11 14:46:32 +0200 | [diff] [blame] | 98 | |
| peusterm | c25a458 | 2017-04-27 16:15:11 +0200 | [diff] [blame] | 99 | - name: install iptc |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 100 | pip: name=python-iptables state=latest executable={{pip_path.stdout}} |
| peusterm | c25a458 | 2017-04-27 16:15:11 +0200 | [diff] [blame] | 101 | |
| stevenvanrossem | ca164cf | 2017-05-03 16:26:01 +0200 | [diff] [blame] | 102 | - name: install ipaddress |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 103 | pip: name=ipaddress state=latest executable={{pip_path.stdout}} |
| stevenvanrossem | ca164cf | 2017-05-03 16:26:01 +0200 | [diff] [blame] | 104 | |
| peusterm | bbe1289 | 2017-09-07 13:03:12 +0200 | [diff] [blame] | 105 | - name: install gevent |
| Rafael Schellenberg | aa8823c | 2019-12-06 15:03:56 +0100 | [diff] [blame] | 106 | pip: name=gevent executable={{pip_path.stdout}} |
| stevenvanrossem | c6abf13 | 2016-04-14 11:15:58 +0200 | [diff] [blame] | 107 | |
| 108 | |