Ansible: Mellanox install
[csit.git] / resources / tools / testbed-setup / ansible / roles / tg_sut / tasks / main.yaml
index f586e87..bb8c676 100644 (file)
@@ -3,22 +3,18 @@
 
 - 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'
-
-- name: Skylake specific
-  import_tasks: skylake.yaml
-  when: cpu_microarchitecture == "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
+  tags: [ disable-turbo-boost, set-grub, install-pip ]
+
+- 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: