diff options
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/trex/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/trex/tasks/deploy_block.yaml | 14 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml | 4 |
2 files changed, 9 insertions, 9 deletions
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 1513a0a617..5a7890b071 100644 --- 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 -- 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" @@ -9,12 +9,12 @@ mode: 0644 register: trex_downloaded -- name: "Create Directory {{ item }}" +- name: Create Directory {{ item }} 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" @@ -30,25 +30,25 @@ 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 -- 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 -- 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 -- 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" diff --git a/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml index 96a3ba5f03..d43baf909b 100644 --- a/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml @@ -17,8 +17,8 @@ tags: - trex-inst-prerequisites -- name: Deploy Multiple T-Rex Versions +- name: Inst - Multiple T-Rex Versions include_tasks: deploy_block.yaml loop: "{{ trex_version }}" tags: - - install-trex
\ No newline at end of file + - trex-inst
\ No newline at end of file |