1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- ---
- - hosts: localhost
- gather_facts: no
- connection: local
- become: True
- vars:
- - git_url: "git@github.com:kalliope-project/kalliope.git"
- - temp_local_repo: "/tmp/kalliope_repo"
- - install_path: "/usr/lib/kalliope"
- tasks:
- - name: Install packages
- apt: name={{ item }} update_cache=yes
- with_items:
- - python-pip
- - python-dev
- - libsmpeg0
- - libttspico-utils
- - libsmpeg0
- - flac
- - dialog
- - libffi-dev
- - libssl-dev
- - portaudio19-dev
- - build-essential
- - libssl-dev
- - libffi-dev
- - sox
- - libatlas3-base
- - mplayer
- - name: Copy requirement
- copy:
- src: python_requirements.txt
- dest: /tmp/requirements.txt
- - name: Upgrade pip
- pip:
- name: pip
- state: latest
- - name: Install python libs
- pip:
- requirements=/tmp/requirements.txt
|