- name: Install distribution - release - machine prerequisites
include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
+ tags: [ install-csit-dependencies, install-docker, install-kubernetes ]
- name: Machine specifics
include_tasks: '{{ ansible_machine }}.yaml'
+ tags: [ disable-turbo-boost, set-grub, install-pip ]
-- name: skylake specific
- import_tasks: skylake.yaml
- when: ("skylake" in groups) and inventory_hostname in groups['skylake']
-
-- name: Copy netplan network config file
- template:
- src: 'files/netplan_config'
- dest: '/etc/netplan/01-netcfg.yaml'
- owner: 'root'
- group: 'root'
- mode: '0644'
- tags: copy-interface-file
+- name: Turbo boost specific
+ import_tasks: turbo_boost.yaml
+ when: cpu_microarchitecture == "skylake" or cpu_microarchitecture == "cascadelake"
+ tags: [ install-msr, disable-turbo-boost ]
- name: Copy CSIT sysctl file
template:
enabled: 'no'
tags: set-ondemand
-- name: Install CSIT PIP requirements
- 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'
- - 'scipy==1.1.0'
- tags: install-pip
-
- name: Install VPP PIP requirements
pip:
name: