aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/aarch64.yaml
blob: 2a481335a0ef2daa3487c7b767404da7e7145488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
# file: roles/tg_sut/tasks/aarch64.yaml

- name: Configure aarch64 kernel parameters
  lineinfile:
    path: '/etc/default/grub'
    state: 'present'
    regexp: '^GRUB_CMDLINE_LINUX='
    line: 'GRUB_CMDLINE_LINUX="isolcpus={{ grub.isolcpus }} nohz_full={{ grub.nohz_full }} rcu_nocbs={{ grub.rcu_nocbs }} intel_iommu=on nmi_watchdog=0 audit=0 nosoftlockup processor.max_cstate=1"'
  notify: ['Update GRUB']
  tags: set-grub

- name: Install SciPy dependencies
  apt:
    name:
      - 'gfortran'
      - 'libblas-dev'
      - 'liblapack-dev'
    state: 'present'
    install_recommends: False
  tags: install-pip

- name: Install CSIT PIP requirements without SciPy
  pip:
    name:
      - 'docopt==0.6.2'
      - 'ecdsa==0.13'
      - 'enum34==1.1.2'
      - 'ipaddress==1.0.16'
      - 'paramiko==1.16.0'
      - 'pexpect==4.6.0'
      - 'pycrypto==2.6.1'
      - 'pykwalify==1.5.0'
      - 'pypcap==1.1.5'
      - 'python-dateutil==2.4.2'
      - 'PyYAML==3.11'
      - 'requests==2.9.1'
      - 'robotframework==2.9.2'
      - 'scapy==2.3.1'
      - 'scp==0.10.2'
      - 'six==1.12.0'
      - 'dill==0.2.8.2'
      - 'numpy==1.14.5'
  tags: install-pip

- name: Install CSIT PIP requirements - SciPy workaround
  pip:
    name:
      - 'scipy==1.1.0'
  tags: install-pip