summaryrefslogtreecommitdiffstats
path: root/resources/roles/nDPI/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'resources/roles/nDPI/tasks')
-rw-r--r--resources/roles/nDPI/tasks/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/roles/nDPI/tasks/main.yml b/resources/roles/nDPI/tasks/main.yml
index b3e7259f..c53a22fc 100644
--- a/resources/roles/nDPI/tasks/main.yml
+++ b/resources/roles/nDPI/tasks/main.yml
@@ -58,3 +58,10 @@
- 'nDPI throughput:\s+?(?P<dpi_pps>\d+.\d+.*) \/ (?P<dpi_bps>\d+.\d+.*)$'
dump: 'nDPI.log'
register: dpi_metrics
+
+- name: create dpi report
+ template:
+ src: dpi-metrics.j2
+ dest: "{{ qtip_results }}/{{ inventory_hostname }}/dpi-metrics"
+ delegate_to: localhost
+ tags: [report]