diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-18 13:36:02 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-23 22:06:56 -0700 |
commit | 1d91850970f89ff6b383c26a1cf9fbc5e9ac78eb (patch) | |
tree | 4c33c3358ab01cdbf431986ce75bd4dc6419d9fe /ansible/roles/download_samplevnfs/tasks/main.yml | |
parent | 5ed1f7ebbe7a9ae6138f56051a15e7774f6e71b9 (diff) |
ansible: update dpdk, trex and samplevnf install
we now clone samplevnf from git repo
made install_samplevnf role that takes as parameter VNF name
added ubuntu_server_cloudimg_modify_samplevnfs playbook
Change-Id: I5724e3b844b3137542a5c293516893a5c80f5c61
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'ansible/roles/download_samplevnfs/tasks/main.yml')
-rw-r--r-- | ansible/roles/download_samplevnfs/tasks/main.yml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/ansible/roles/download_samplevnfs/tasks/main.yml b/ansible/roles/download_samplevnfs/tasks/main.yml index 005d57dda..e9d4142c9 100644 --- a/ansible/roles/download_samplevnfs/tasks/main.yml +++ b/ansible/roles/download_samplevnfs/tasks/main.yml @@ -17,16 +17,13 @@ # verbosity: 2 - name: fetch samplevnf - get_url: - url: "{{ samplevnf_url }}" + git: + repo: "{{ samplevnf_url }}" dest: "{{ samplevnf_dest }}" - validate_certs: False - checksum: "{{ samplevnf_sha256 }}" - -- unarchive: - src: "{{ clone_dest }}/{{ samplevnf_file }}" - dest: "{{ clone_dest }}/" - copy: no + version: "{{ samplevnf_version }}" + accept_hostkey: yes + recursive: no + force: yes - set_fact: - samplevnf_path: "{{ clone_dest }}/{{ samplevnf_unarchive }}" + samplevnf_path: "{{ samplevnf_dest }}" |