diff options
author | 2019-04-12 20:22:05 +0000 | |
---|---|---|
committer | 2019-04-13 05:37:11 +0000 | |
commit | 563dc7e4cda1894f987ef149567daa6b64583dac (patch) | |
tree | 57f5aded03ba9ef970f3ee3cc655f71a093d34c6 /resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml | |
parent | aaaa09df155c39ed08971f0beeb0a7cf24735472 (diff) |
Add DPDK install to ansible
Change-Id: If838c2a008ffd5bdf458c76d729f57b47e225b41
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit de305de0b89f083037bdac86bb8f3739f5eeecf9)
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml index 53f1f9b6c2..93847849c5 100644 --- a/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml @@ -16,21 +16,6 @@ become: yes tags: copy-80-vpp -- name: Get kernel-kvm version - shell: "apt-cache depends -i linux-image-kvm | grep Depends: | cut -d' ' -f4" - register: 'linux__image_kvm_read' - tags: install-kernelvm - -- name: Download kernel-kvm - shell: "apt-get -y download {{ linux__image_kvm_read.stdout }}" - args: - warn: false # Prevent warning as APT module does not support download. - register: 'linux__image_kvm_download' - when: 'linux__image_kvm_read' - tags: install-kernelvm - -- name: Unpack kernel-kvm - shell: "dpkg --extract {{ linux__image_kvm_read.stdout }}_*.deb /opt/" - when: 'linux__image_kvm_download' - tags: install-kernelvm - +- name: Install DPDK + include_tasks: 'dpdk.yaml' + tags: install-dpdk |