2 # file: roles/vpp_device/tasks/main.yaml
4 - name: Copy csit-initialize-vfs.sh
6 src: 'files/csit-initialize-vfs.sh'
7 dest: '/usr/local/bin/'
13 - name: Start csit-initialize-vfs.service
15 src: 'files/csit-initialize-vfs.service'
16 dest: '/etc/systemd/system/'
21 - 'Start csit-initialize-vfs.service'
22 tags: start-vf-service
24 - meta: flush_handlers
26 - name: Set hugepages in GRUB
28 path: '/etc/default/grub'
30 regexp: '^GRUB_CMDLINE_LINUX='
31 line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages={{ grub.nr_hugepages }}"'
37 - meta: flush_handlers
39 - name: Kernel VM install
40 include_tasks: '../../common/tasks/kernel_install.yaml'
41 tags: install-kernel-image