-- 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 ]