---
# file: roles/sut/tasks/main.yaml
-- name: Ubuntu specific
- import_tasks: ubuntu.yaml
- when: ansible_distribution|lower == 'ubuntu'
+- name: SUT - Install Distribution - Release - Machine Prerequisites
+ package:
+ name: "{{ packages | flatten(levels=1) }}"
+ state: latest
+ update_cache: true
+ tags:
+ - install-dependencies
-- name: Taishan aarch64 specific
- import_tasks: taishan_workaround.yaml
- when: taishan_workaround is defined
-
-- name: Copy 80-vpp.conf
+- name: SUT - Copy 80-vpp.conf
file:
- src: '/dev/null'
- dest: '/etc/sysctl.d/80-vpp.conf'
- state: 'link'
+ src: "/dev/null"
+ dest: "/etc/sysctl.d/80-vpp.conf"
+ state: "link"
become: yes
- tags: copy-80-vpp
+ tags:
+ - copy-80-vpp