- name: Machine specifics
include_tasks: '{{ ansible_machine }}.yaml'
- tags: [ disable-turbo-boost, set-grub, install-pip ]
+ tags: set-grub
-- name: Turbo boost specific
+- name: Turbo boost
import_tasks: turbo_boost.yaml
- when: cpu_microarchitecture == "skylake" or cpu_microarchitecture == "cascadelake"
- tags: [ install-msr, disable-turbo-boost ]
-
-- 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
+ when: >
+ cpu_microarchitecture == "skylake" or
+ cpu_microarchitecture == "cascadelake"
+ tags: turbo-boost
- name: Copy CSIT sysctl file
template:
enabled: 'no'
tags: set-ondemand
-- name: Install VPP PIP requirements
- pip:
- name:
- - 'aenum==2.1.2'
- tags: install-pip
-
- name: Load vfio-pci by default
lineinfile:
path: '/etc/modules'