Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "vPE Sample VNF is missing in the installation scripts"
[yardstick.git]
/
ansible
/
roles
/
download_dpdk
/
tasks
/
main.yml
diff --git
a/ansible/roles/download_dpdk/tasks/main.yml
b/ansible/roles/download_dpdk/tasks/main.yml
index
322f3cd
..
bea3feb
100644
(file)
--- a/
ansible/roles/download_dpdk/tasks/main.yml
+++ b/
ansible/roles/download_dpdk/tasks/main.yml
@@
-16,20
+16,29
@@
var: dpdk_version
verbosity: 2
var: dpdk_version
verbosity: 2
+- file:
+ path: "{{ dpdk_dest }}"
+ state: directory
+
- name: fetch dpdk
get_url:
url: "{{ dpdk_url }}"
dest: "{{ dpdk_dest }}"
validate_certs: False
- name: fetch dpdk
get_url:
url: "{{ dpdk_url }}"
dest: "{{ dpdk_dest }}"
validate_certs: False
- checksum: "{{ dpdk_
sha256s
[dpdk_version] }}"
+ checksum: "{{ dpdk_
md5
[dpdk_version] }}"
- unarchive:
- unarchive:
- src: "{{
clone
_dest }}/{{ dpdk_file }}"
- dest: "{{
clone
_dest }}/"
+ src: "{{
dpdk
_dest }}/{{ dpdk_file }}"
+ dest: "{{
dpdk
_dest }}/"
copy: no
copy: no
+- name: cleanup tar file to save space
+ file:
+ path: "{{ dpdk_dest }}/{{ dpdk_file }}"
+ state: absent
+
- set_fact:
- set_fact:
- dpdk_path: "{{
clone
_dest }}/{{ dpdk_unarchive }}"
+ dpdk_path: "{{
dpdk
_dest }}/{{ dpdk_unarchive }}"
- set_fact:
RTE_SDK: "{{ dpdk_path }}"
- set_fact:
RTE_SDK: "{{ dpdk_path }}"