blob: 3e13476d14cbbc89a396ab432b20b0489e26bb1d [file] [log] [blame]
Matteo Scandoloeb0d11c2017-08-08 13:05:26 -07001
2# Copyright 2017-present Open Networking Foundation
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
Srikanth Vavilapallib2a50192017-02-03 18:25:59 +000017---
18- hosts: "{{ hosts }}"
19
20 tasks:
21 - name: install pip and related packages
22 apt: name="{{ item }}" state=present update-cache=yes
23 become: yes
24 with_items:
25 - python-pip
26 - python-dev
27 - build-essential
28 - git
29 - msgpack-python
30
31 - name: install python packages
32 pip: name="{{ item }}" state=present
33 become: yes
34 with_items:
35 - virtualenv
36 - Flask
37 - kafka-python
38 - oslo.utils
39 - Babel
40
41 - name: create clone directory
42 file: path=~/auto-scale2 state=directory
43
44 - name: clone auto-scale repo
45 git: repo=https://gerrit.opencord.org/xos-external-app-examples dest=~/auto-scale2
46