X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=ansible%2Finstall.yml;h=ee5d2c0ef0759d6e9670f82b98e2f1fb23dc1467;hb=aa8823c85d94a4fa72de058076195296334cdb91;hp=e303aad8627a94b4ca48a44deaca82db0b9bcbfa;hpb=85408ed517f100c3e477efd35e54630bf9171af0;p=osm%2Fvim-emu.git diff --git a/ansible/install.yml b/ansible/install.yml index e303aad..ee5d2c0 100755 --- a/ansible/install.yml +++ b/ansible/install.yml @@ -41,62 +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 version=1.11 + 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 + 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 version=4.6.4 + 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}}