Add PAPI dependencies
[csit.git] / resources / tools / testbed-setup / ansible / roles / sut / tasks / main.yaml
index ffdbbcc..90990b6 100644 (file)
@@ -1,14 +1,17 @@
----\r
-# file: roles/sut/tasks/main.yaml\r
-\r
-- name: Ubuntu specific\r
-  import_tasks: ubuntu_x86_64.yaml\r
-  when: ansible_distribution|lower == 'ubuntu' and ansible_machine == 'x86_64'\r
-\r
-- name: Copy 80-vpp.conf\r
-  file:\r
-    src: '/dev/null'\r
-    dest: '/etc/sysctl.d/80-vpp.conf'\r
-    state: 'link'\r
-  become: yes\r
-  tags: copy-80-vpp\r
+---
+# file: roles/sut/tasks/main.yaml
+
+- name: Install distribution - release - machine prerequisites
+  include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
+
+- name: Taishan aarch64 specific
+  import_tasks: taishan_workaround.yaml
+  when: taishan_workaround is defined
+
+- name: Copy 80-vpp.conf
+  file:
+    src: '/dev/null'
+    dest: '/etc/sysctl.d/80-vpp.conf'
+    state: 'link'
+  become: yes
+  tags: copy-80-vpp