1 #Copyright 2018 OPNFV and Intel Corporation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 - name: Clean collectd config dir path
19 path: "{{ config_file_dir }}"
24 - name: Create collectd.d folder on remote host
26 path: "{{ config_file_dir }}"
32 - name: enable capabilities plugin
33 import_tasks: capabilities.yml
35 - name: enable csv plugin
38 - name: enable default plugins
39 import_tasks: default_read_plugins.yml
41 - name: enable dpdk plugins
42 import_tasks: dpdk.yml
44 - name: enable exec plugin
45 import_tasks: exec.yml
47 - name: enable hugepages plugin
48 import_tasks: hugepages.yml
50 - name: enable kafka plugin
51 import_tasks: kafka.yml
53 - name: enable logfile plugin
54 import_tasks: logfile.yml
56 - name: enable logparser plugin
57 import_tasks: logparser.yml
59 - name: enable mcelog plugin
60 import_tasks: mcelog.yml
62 - name: enable network plugin
63 import_tasks: network.yml
65 - name: enable prometheus plugin
66 import_tasks: prometheus.yml
67 when: groups['prometheus_hosts'] is defined
69 - name: enable pmu plugin
72 - name: enable rdt plugin
75 - name: enable rddtool plugin
76 import_tasks: rrdtool.yml
78 - name: enable snmp_agent plugin
79 import_tasks: snmp_agent.yml
81 - name: enable syslog plugin
82 import_tasks: syslog.yml
84 - name: enable virt plugin
85 import_tasks: virt.yml
87 - name: enable ipmi plugin
90 - name: enable uuid plugin
93 - name: copy additional config files
94 include: additional_configs.yml