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 csv plugin
35 - name: enable default plugins
36 import_tasks: default_read_plugins.yml
38 - name: enable exec plugin
39 import_tasks: exec.yml
41 - name: enable hugepages plugin
42 import_tasks: hugepages.yml
44 - name: enable kafka plugin
45 import_tasks: kafka.yml
47 - name: enable logfile plugin
48 import_tasks: logfile.yml
50 - name: enable mcelog plugin
51 import_tasks: mcelog.yml
53 - name: enable network plugin
54 import_tasks: network.yml
56 - name: enable pmu plugin
59 - name: enable rdt plugin
62 - name: enable rddtool plugin
63 import_tasks: rrdtool.yml
65 - name: enable snmp_agent plugin
66 import_tasks: snmp_agent.yml
68 - name: enable syslog plugin
69 import_tasks: syslog.yml
71 - name: enable virt plugin
72 import_tasks: virt.yml
74 - name: enable ipmi plugin
77 - name: enable uuid plugin
80 - name: copy additional config files
81 include: additional_configs.yml