Moving Ubuntu packages from basebuild.sh script to Ansible
Signed-off-by: Vanessa Valderrama <vvalderrama@linuxfoundation.org>
Change-Id: I6c3e9b3d71788d85a7df3b132c358ab7e7f8140d
when: ansible_distribution == 'Ubuntu'
become: true
+ - apt_repository:
+ repo: ppa:deadsnakes/ppa
+ state: present
+ become: true
+ when: ansible_distribution == 'Ubuntu'
+
+ - name: Update and upgrade apt packages
+ apt:
+ upgrade: 'yes'
+ update_cache: yes
+ become: true
+ when: ansible_distribution == 'Ubuntu'
+
+ - name: Install python-tox and deps
+ pip:
+ name:
+ - tox
+ - tox-pyenv
+ - virtualenv
+ state: present
+ become: true
+
+ - name: 'Install TLDK Packages'
+ apt:
+ name:
+ - libaprutil1-dev
+ - libc-dev-bin
+ - libc6-dev
+ - libcap-dev
+ - libcrypt-dev
+ - libexpat1-dev
+ - libldap2-dev
+ - libsctp-dev
+ - libsctp1
+ - libserf-1-1
+ - libsvn1
+ - linux-libc-dev
+ - python3-pyelftools
+ - libnuma-dev
+ when: ansible_distribution == 'Ubuntu'
+ become: true
+
roles:
- lfit.mono-install