[ansible][fedora] Update package name
[barometer.git] / docker / ansible / roles / config_files / tasks / dpdk.yml
index 7809c56..2be146b 100644 (file)
@@ -1,4 +1,4 @@
-#Copyright 2018 OPNFV and Intel Corporation
+# Copyright 2018-21 Anuket, Intel Corporation and others
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # See the License for the specific language governing permissions and
 # limitations under the License.
 ---
-
-- name: enable dpdkstat plugin
-  template:
-    src: dpdkstat.conf.j2
-    dest: "{{ config_file_dir }}/dpdkstat.conf"
+- name: enable dpdk_telemetry plugin
+  set_fact:
+    collectd_plugins: "{{ collectd_plugins | union(['dpdk_telemetry']) | unique }}"
   tags:
-    - dpdkstat
-
-- name: enable dpdkevents plugin
-  template:
-    src: dpdkevents.conf.j2
-    dest: "{{ config_file_dir }}/dpdkevents.conf"
-  tags:
-    - dpdkevents
+    - dpdk_telemetry