Install also sshpass tin centos bootstraps
[csit.git] / resources / tools / testbed-setup / ansible / roles / tg_sut / tasks / x86_64.yaml
1 ---
2 # file: roles/tg_sut/tasks/x86_64.yaml
3
4 - name: Load msr by default
5   lineinfile:
6     path: '/etc/modules'
7     state: 'present'
8     line: 'msr'
9   tags: disable-turbo-boost
10
11 - name: Configure x86_64 kernel parameters
12   lineinfile:
13     path: '/etc/default/grub'
14     state: 'present'
15     regexp: '^GRUB_CMDLINE_LINUX='
16     line: 'GRUB_CMDLINE_LINUX="isolcpus={{ grub.isolcpus }} nohz_full={{ grub.nohz_full }} rcu_nocbs={{ grub.rcu_nocbs }} numa_balancing=disable intel_pstate=disable intel_iommu=on iommu=pt nmi_watchdog=0 audit=0 nosoftlockup processor.max_cstate=1 intel_idle.max_cstate=1 hpet=disable tsc=reliable mce=off"'
17   notify:
18     - 'Update GRUB'
19     - 'Reboot server'
20   tags: set-grub
21
22 - meta: flush_handlers