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 capabilities plugin
34 import_tasks: capabilities.yml
36 - name: enable csv plugin
39 - name: enable default plugins
40 import_tasks: default_read_plugins.yml
42 - name: enable dpdk plugins
43 import_tasks: dpdk.yml
45 - name: enable exec plugin
46 import_tasks: exec.yml
48 - name: enable hugepages plugin
49 import_tasks: hugepages.yml
51 - name: enable kafka plugin
52 import_tasks: kafka.yml
54 - name: enable logfile plugin
55 import_tasks: logfile.yml
57 - name: enable logparser plugin
58 import_tasks: logparser.yml
60 - name: enable mcelog plugin
61 import_tasks: mcelog.yml
63 - name: enable network plugin
64 import_tasks: network.yml
66 - name: enable prometheus plugin
67 import_tasks: prometheus.yml
68 when: groups['prometheus_hosts'] is defined
70 - name: enable pmu plugin
73 - name: enable rdt plugin
76 - name: enable rddtool plugin
77 import_tasks: rrdtool.yml
79 - name: enable snmp_agent plugin
80 import_tasks: snmp_agent.yml
82 - name: enable syslog plugin
83 import_tasks: syslog.yml
85 - name: enable virt plugin
86 import_tasks: virt.yml
88 - name: enable ipmi plugin
91 - name: enable uuid plugin
94 - name: copy additional config files
95 include: additional_configs.yml