1 # Copyright 2018-2019 Intel Corporation and OPNFV. All rights reserved.
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.
17 - name: Clean collectd config dir path
20 path: "{{ config_file_dir }}"
25 - name: Create collectd.d folder on remote host
27 path: "{{ config_file_dir }}"
33 - name: enable csv plugin
36 - name: enable default plugins
37 import_tasks: default_read_plugins.yml
39 - name: enable dpdk plugins
40 import_tasks: dpdk.yml
42 - name: enable exec plugin
43 import_tasks: exec.yml
45 - name: enable hugepages plugin
46 import_tasks: hugepages.yml
48 - name: enable kafka plugin
49 import_tasks: kafka.yml
51 - name: enable logfile plugin
52 import_tasks: logfile.yml
54 - name: enable logparser plugin
55 import_tasks: logparser.yml
57 - name: enable mcelog plugin
58 import_tasks: mcelog.yml
60 - name: enable network plugin
61 import_tasks: network.yml
63 - name: enable prometheus plugin
64 import_tasks: prometheus.yml
65 when: groups['prometheus_hosts'] is defined
67 - name: enable pmu plugin
70 - name: enable rdt plugin
73 - name: enable rddtool plugin
74 import_tasks: rrdtool.yml
76 - name: enable snmp_agent plugin
77 import_tasks: snmp_agent.yml
79 - name: enable syslog plugin
80 import_tasks: syslog.yml
82 - name: enable virt plugin
83 import_tasks: virt.yml
85 - name: enable ipmi plugin
88 - name: enable uuid plugin
91 - name: copy additional config files
92 include: additional_configs.yml