From 24700ec3606ca422708646d60fb346d2e0d103cc Mon Sep 17 00:00:00 2001 From: Stepan Andrushko Date: Tue, 11 Dec 2018 19:41:55 +0200 Subject: Ubuntu 18 support for nsb_setup.yml flow Added Ubuntu 18 support to nsb_setup.yml flow: playbook build_yardstick_image.yml. Resolved dependencies between sample VNF and npm installation. JIRA: YARDSTICK-1567 Change-Id: Ie4012687af7cf1fc374c226325f2c71cd6017275 Signed-off-by: Stepan Andrushko --- ansible/roles/install_dependencies_jumphost/tasks/Debian.yml | 6 ++++++ ansible/roles/install_dpdk/tasks/Debian.yml | 1 + 2 files changed, 7 insertions(+) (limited to 'ansible/roles') diff --git a/ansible/roles/install_dependencies_jumphost/tasks/Debian.yml b/ansible/roles/install_dependencies_jumphost/tasks/Debian.yml index 419f81bfd..6c3900d26 100755 --- a/ansible/roles/install_dependencies_jumphost/tasks/Debian.yml +++ b/ansible/roles/install_dependencies_jumphost/tasks/Debian.yml @@ -16,6 +16,12 @@ apt: update_cache: yes +- name: Install dependency for Ubuntu 18 + action: "{{ ansible_pkg_mgr }} name=libssl1.0-dev state=present" + when: + - ansible_distribution == 'Ubuntu' + - ansible_distribution_major_version|int >= 17 + - name: Install core packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" with_items: diff --git a/ansible/roles/install_dpdk/tasks/Debian.yml b/ansible/roles/install_dpdk/tasks/Debian.yml index 4f0c3c881..b76a0fbf8 100755 --- a/ansible/roles/install_dpdk/tasks/Debian.yml +++ b/ansible/roles/install_dpdk/tasks/Debian.yml @@ -17,6 +17,7 @@ with_items: - libpcap-dev - pciutils + - libelf-dev - name: Install kernel headers action: "{{ ansible_pkg_mgr }} name=linux-headers-{{ dpdk_kernel }} state=present" -- cgit 1.2.3-korg