aboutsummaryrefslogtreecommitdiffstats
path: root/resources/metric/nDPI.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/metric/nDPI.yaml')
-rw-r--r--resources/metric/nDPI.yaml28
1 files changed, 4 insertions, 24 deletions
diff --git a/resources/metric/nDPI.yaml b/resources/metric/nDPI.yaml
index 0391302a..b3e7259f 100644
--- a/resources/metric/nDPI.yaml
+++ b/resources/metric/nDPI.yaml
@@ -10,32 +10,12 @@
- name: prepare sample pcap file
get_url:
- url: "https://build.opnfv.org/artifacts.opnfv.org/qtip/utilities/test.pcap"
- dest: "{{ qtip_dump }}/localhost/{{ nDPI_file }}"
- validate_certs: no # required when using proxy for https
+ url: "http://artifacts.opnfv.org/qtip/utilities/test.pcap"
+ dest: "{{ qtip_cache }}/{{ nDPI_file }}"
+ # validate_certs: no # required when using proxy for https
run_once: yes
delegate_to: localhost
-- name: installing nDPI dependencies if CentOS
- yum:
- name: '{{ item }}'
- state: present
- when: ansible_os_family == "RedHat"
- with_items:
- - git
- - gcc
- - patch
- - perl-Time-HiRes
- - autofconf
- - automake
- - libpcap-devel libtool
-
-- name: installing nDPI dependencies if Ubuntu
- apt:
- name: build-essential
- state: present
- when: ansible_os_family == "Debian"
-
- name: making nDPI temporary directory
file:
path: "{{ nDPI_cwd }}"
@@ -60,7 +40,7 @@
- name: copy sample packet file
copy:
- src: "{{ qtip_dump }}/localhost/{{ nDPI_file }}"
+ src: "{{ qtip_cache}}/{{ nDPI_file }}"
dest: "{{ nDPI_cwd }}/example/{{ nDPI_file }}"
- name: