diff options
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device')
-rw-r--r-- | fdio.infra.ansible/roles/vpp_device/tasks/main.yaml | 10 |
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" |