summaryrefslogtreecommitdiffstats
path: root/ansible/roles
diff options
context:
space:
mode:
authorStepan Andrushko <stepanx.andrushko@intel.com>2018-12-11 19:41:55 +0200
committerStepan Andrushko <stepanx.andrushko@intel.com>2018-12-12 16:31:31 +0000
commit24700ec3606ca422708646d60fb346d2e0d103cc (patch)
treecf745ed79adb6df1f08883583a99d86e02a67329 /ansible/roles
parent3ab88d660b013fd3cd845b1c55ab2503b2dd080c (diff)
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 <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/roles')
-rwxr-xr-xansible/roles/install_dependencies_jumphost/tasks/Debian.yml6
-rwxr-xr-xansible/roles/install_dpdk/tasks/Debian.yml1
2 files changed, 7 insertions, 0 deletions
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"