diff options
author | Volodymyr Mytnyk <volodymyrx.mytnyk@intel.com> | 2019-04-26 16:06:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-04-26 16:06:52 +0000 |
commit | d19ffbe2a974f9fb12cc783f4d20352739f7a227 (patch) | |
tree | 202e6a5d1aee1ed03be00d54795d4894003b97a0 /ansible/roles/download_samplevnfs | |
parent | a53c2e9b4e3d4c536873255331d34449f855296a (diff) | |
parent | a84cbaaf620fff614a68e0cc95775c45738f14b1 (diff) |
Merge "Log VM OS version, Sample VNF branch/commit ID"
Diffstat (limited to 'ansible/roles/download_samplevnfs')
-rw-r--r-- | ansible/roles/download_samplevnfs/defaults/main.yml | 1 | ||||
-rw-r--r-- | ansible/roles/download_samplevnfs/tasks/main.yml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/download_samplevnfs/defaults/main.yml b/ansible/roles/download_samplevnfs/defaults/main.yml index 5ddc9f0f9..2ae4d6159 100644 --- a/ansible/roles/download_samplevnfs/defaults/main.yml +++ b/ansible/roles/download_samplevnfs/defaults/main.yml @@ -14,3 +14,4 @@ samplevnf_url: "https://git.opnfv.org/samplevnf" samplevnf_dest: "{{ clone_dest }}/samplevnf" samplevnf_version: "47123bfc1b3c0d0b01884aebbce1a3e09ad7ddb0" +path_json: "{{ INSTALL_BIN_PATH }}/{{ inventory_hostname | basename }}_sample_vnf.json" diff --git a/ansible/roles/download_samplevnfs/tasks/main.yml b/ansible/roles/download_samplevnfs/tasks/main.yml index e9d4142c9..f98f2a42d 100644 --- a/ansible/roles/download_samplevnfs/tasks/main.yml +++ b/ansible/roles/download_samplevnfs/tasks/main.yml @@ -27,3 +27,7 @@ - set_fact: samplevnf_path: "{{ samplevnf_dest }}" + +- file: + dest: "{{ path_json }}" + state: absent |