Add support for dpdk events and stat to ansible installation
[barometer.git] / docker / ansible / roles / config_files / tasks / main.yml
index 7d3919a..1bf6698 100644 (file)
@@ -35,6 +35,9 @@
 - name: enable default plugins
   import_tasks: default_read_plugins.yml
 
+- name: enable dpdk plugins
+  import_tasks: dpdk.yml
+
 - name: enable exec plugin
   import_tasks: exec.yml
 
 - name: enable network plugin
   import_tasks: network.yml
 
+- name: enable prometheus plugin
+  import_tasks: prometheus.yml
+  when: groups['prometheus_hosts'] is defined
+
 - name: enable pmu plugin
   import_tasks: pmu.yml
 
 - name: enable ipmi plugin
   include: ipmi.yml
 
-- name: copy additional configuration files to target system
-  template:
-    src: "{{ item }}"
-    dest: "{{ config_file_dir }}/{{ item | basename | regex_replace('\\.j2','') }}"
-  tags:
-   - always
-   - copy_additional_configs
-  with_fileglob:
-    - "{{ additional_configs_path }}"
+- name: enable uuid plugin
+  include: uuid.yml
+
+- name: copy additional config files
+  include: additional_configs.yml