diff options
author | 2020-02-18 12:29:56 +0100 | |
---|---|---|
committer | 2020-02-19 13:42:36 +0000 | |
commit | ed648e7c1f6493fd3bd01213ed0692a5b2e1a020 (patch) | |
tree | 00087c9f8e4b27a7dc887531a7d830942c6e1a97 /resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml | |
parent | b495b6f2077fc87ec94b821e9bd8ecfe2a588eca (diff) |
Re-compile vfio-pci and igb_uio for AWS in ansible scripts.
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech>
Change-Id: I6f0268f510e0c07e45d41f92ae5e2d24d05d407b
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml index 9577c5c392..753ebec50c 100644 --- a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml @@ -33,5 +33,13 @@ become: yes command: "make install T={{ dpdk_build_targets[ansible_machine] }}-linux-gcc DESTDIR={{ dpdk_target_dir }}/dpdk-stable-{{ dpdk_version }} chdir={{ dpdk_target_dir }}/dpdk-stable-{{ dpdk_version }}" when: "linux__dpdk_extracted" + register: "linux__dpdk_compiled" tags: - install-dpdk + +- name: Link igb_uio module + shell: "ln -fs {{ dpdk_target_dir }}/dpdk-stable-{{ dpdk_version }}/{{ dpdk_build_targets[ansible_machine] }}-linux-gcc/kmod/igb_uio.ko /lib/modules/`uname -r`/igb_uio.ko && depmod -a" + ignore_errors: "yes" + when: "linux__dpdk_compiled" + tags: + - link-igb_uio-module |