aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp_device
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2024-01-23 10:00:56 +0000
committerpmikus <peter.mikus@protonmail.ch>2024-01-23 10:00:56 +0000
commit3020fec6cdd6d8dfb4ab82b4c77b244779169062 (patch)
treeab764df088f7a7618f20d1f069b947f13e4ec780 /fdio.infra.ansible/roles/vpp_device
parentcaff461d7ef136f744cc4084fe5be13f49fb27dd (diff)
feat(infra): 1n-alt
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Iea69bcd730f641504428f1400e5c6eb6d6b755dd
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device')
-rw-r--r--fdio.infra.ansible/roles/vpp_device/tasks/main.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
index 5e98be2f84..44505d3065 100644
--- a/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp_device/tasks/main.yaml
@@ -1,6 +1,16 @@
---
# file: tasks/main.yaml
+- name: "Load Kernel Modules On Startup (vfio-pci)"
+ ansible.builtin.lineinfile:
+ path: "/etc/modules"
+ state: "present"
+ line: "{{ item }}"
+ with_items:
+ - "vfio-pci"
+ tags:
+ - load-kernel-modules
+
- name: "Disable IPv6 Router Advertisement"
ansible.builtin.sysctl:
name: "net.ipv6.conf.default.accept_ra"