Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Infra: Ansible Ubuntu Focal
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
trex
/
tasks
/
deploy_block.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/trex/tasks/deploy_block.yaml
b/resources/tools/testbed-setup/ansible/roles/trex/tasks/deploy_block.yaml
index
1513a0a
..
5a7890b
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/trex/tasks/deploy_block.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/trex/tasks/deploy_block.yaml
@@
-1,7
+1,7
@@
---
# file: roles/trex/tasks/deploy_block.yaml
---
# file: roles/trex/tasks/deploy_block.yaml
-- name:
"Get Release {{ item }}"
+- name:
Get Release {{ item }}
get_url:
url: "{{ trex_url }}/v{{ item }}.tar.gz"
dest: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz"
get_url:
url: "{{ trex_url }}/v{{ item }}.tar.gz"
dest: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz"
@@
-9,12
+9,12
@@
mode: 0644
register: trex_downloaded
mode: 0644
register: trex_downloaded
-- name:
"Create Directory {{ item }}"
+- name:
Create Directory {{ item }}
file:
path: "{{ trex_target_dir }}/trex-core-{{ item }}"
state: "directory"
file:
path: "{{ trex_target_dir }}/trex-core-{{ item }}"
state: "directory"
-- name:
"Extract Release {{ item }}"
+- name:
Extract Release {{ item }}
unarchive:
remote_src: true
src: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz"
unarchive:
remote_src: true
src: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz"
@@
-30,25
+30,25
@@
when:
- azure is defined and item == "2.73"
when:
- azure is defined and item == "2.73"
-- name:
"Compile Release {{ item }} Part I"
+- name:
Compile Release {{ item }} Part I
command: "./b configure"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
command: "./b configure"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
-- name:
"Compile Release {{ item }} Part II"
+- name:
Compile Release {{ item }} Part II
command: "./b build"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
command: "./b build"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/"
when: trex_extracted.changed
-- name:
"Compile Release {{ item }} Part III"
+- name:
Compile Release {{ item }} Part III
command: "make -j 16"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
when: trex_extracted.changed
command: "make -j 16"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
when: trex_extracted.changed
-- name:
"Compile Release {{ item }} Part IV"
+- name:
Compile Release {{ item }} Part IV
command: "make install"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"
command: "make install"
args:
chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src"