Backport CRC checking from master
[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
23
24 - name: Install CSIT PIP requirements
25   pip:
26     name:
27       - 'docopt==0.6.2'
28       - 'ecdsa==0.13'
29       - 'enum34==1.1.2'
30       - 'ipaddress==1.0.16'
31       - 'paramiko==1.16.0'
32       - 'pexpect==4.6.0'
33       - 'pycrypto==2.6.1'
34       - 'pykwalify==1.5.0'
35       - 'pypcap==1.1.5'
36       - 'python-dateutil==2.4.2'
37       - 'PyYAML==3.11'
38       - 'requests==2.9.1'
39       - 'robotframework==2.9.2'
40       - 'scapy==2.3.1'
41       - 'scp==0.10.2'
42       - 'six==1.12.0'
43       - 'dill==0.2.8.2'
44       - 'numpy==1.14.5'
45       - 'scipy==1.1.0'
46   tags: install-pip
47