X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=ansible%2Finstall.yml;h=ee5d2c0ef0759d6e9670f82b98e2f1fb23dc1467;hp=61d12a244c3908442e3dba6ecc1c2a5c1ff8a26a;hb=aa8823c85d94a4fa72de058076195296334cdb91;hpb=bbe128904ab07e43a0386f17a500c679ff9059e0 diff --git a/ansible/install.yml b/ansible/install.yml index 61d12a2..ee5d2c0 100755 --- a/ansible/install.yml +++ b/ansible/install.yml @@ -41,59 +41,68 @@ - name: install pip apt: pkg=python-pip state=installed + - name: install libevent-dev + apt: pkg=libevent-dev state=installed + + - name: install libevent-dev + apt: pkg=python-all-dev state=installed + + - name: find pip executable + shell: "which pip" + register: pip_path + - name: install setuptools - pip: name=setuptools state=latest + pip: name=setuptools state=latest executable={{pip_path.stdout}} - name: install tabulate - pip: name=tabulate state=latest + pip: name=tabulate state=latest executable={{pip_path.stdout}} - name: install argparse - pip: name=argparse state=latest + pip: name=argparse state=latest executable={{pip_path.stdout}} - name: install networkx - pip: name=networkx state=latest + pip: name=networkx version=1.11 executable={{pip_path.stdout}} - name: install six - pip: name=six state=latest + pip: name=six state=latest executable={{pip_path.stdout}} + + - name: install tinyrpc (fixed version to not break ryu) + pip: name=tinyrpc version=1.0.3 executable={{pip_path.stdout}} - name: install ryu - pip: name=ryu state=latest + pip: name=ryu state=latest executable={{pip_path.stdout}} - name: install oslo.config - pip: name=oslo.config state=latest + pip: name=oslo.config state=latest executable={{pip_path.stdout}} - name: install pytest - pip: name=pytest state=latest + pip: name=pytest version=4.6.4 executable={{pip_path.stdout}} - name: install Flask - pip: name=Flask state=latest + pip: name=Flask executable={{pip_path.stdout}} - name: install flask_restful - pip: name=flask_restful state=latest + pip: name=flask_restful state=latest executable={{pip_path.stdout}} - name: install requests - pip: name=requests state=latest + pip: name=requests state=latest executable={{pip_path.stdout}} - name: install docker - pip: name=docker version=2.0.2 + pip: name=docker version=2.0.2 executable={{pip_path.stdout}} - name: install prometheus_client - pip: name=prometheus_client state=latest + pip: name=prometheus_client state=latest executable={{pip_path.stdout}} - name: install latest urllib3 (fix error urllib3.connection.match_hostname = match_hostname) - pip: name=urllib3 version=1.21.1 + pip: name=urllib3 version=1.21.1 executable={{pip_path.stdout}} - name: install iptc - pip: name=python-iptables state=latest + pip: name=python-iptables state=latest executable={{pip_path.stdout}} - name: install ipaddress - pip: name=ipaddress state=latest + pip: name=ipaddress state=latest executable={{pip_path.stdout}} - name: install gevent - pip: name=gevent state=latest - - #- name: install urllib - # pip: name=urllib state=latest - + pip: name=gevent executable={{pip_path.stdout}}