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: Copy csit-initialize-vfs.service
15 src: 'files/csit-initialize-vfs.service'
16 dest: '/etc/systemd/system/'
20 notify: ['Enable csit-initialize-vfs.service']
23 - name: Set isolcpus and pstate parameter
25 path: '/etc/default/grub'
27 regexp: '^GRUB_CMDLINE_LINUX='
28 line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages=65536"'
29 notify: ['Update GRUB']