aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device/tasks/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml11
1 files changed, 3 insertions, 8 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 418217aaac..ec20d2a3cd 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -1,17 +1,12 @@
---
# file: roles/vpp_device/tasks/main.yaml
-- name: Load Kernel Modules By Default
- lineinfile:
- path: "/etc/modules"
- state: "present"
- line: "{{ item }}"
- with_items:
- - "vfio-pci"
+- name: ThunderX2 Kernel Modules Config
+ import_tasks: thunderx2.yaml
when:
- cpu_microarchitecture == "thunderx2"
tags:
- - load-kernel-modules
+ - conf-kernel-modules
- name: Disable IPv6 Router Advertisement
sysctl: