Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT Azure integration
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
sut
/
tasks
/
main.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml
b/resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml
index
e4115e4
..
5d02225
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/sut/tasks/main.yaml
@@
-1,22
+1,19
@@
---
# file: roles/sut/tasks/main.yaml
---
# file: roles/sut/tasks/main.yaml
-- name: Install distribution - release - machine prerequisites
- include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml'
- tags: [ install-csit-dependencies, install-kernel-image ]
+- 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:
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
become: yes
- tags: copy-80-vpp
-
-- name: Install DPDK
- include_tasks: 'dpdk.yaml'
- tags: install-dpdk
+ tags:
+ - copy-80-vpp