Fix anteater issues of baro_tests
[barometer.git] / docker / ansible / roles / config_files / tasks / main.yml
1 #Copyright 2018 OPNFV and Intel Corporation
2 #
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
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14 ---
15
16 - name: Clean collectd config dir path
17   file:
18     state: absent
19     path: "{{ config_file_dir }}"
20   tags:
21    - rm_config_dir
22    - always
23
24 - name: Create collectd.d folder on remote host
25   file:
26     path: "{{ config_file_dir }}"
27     force: yes
28     state: directory
29   tags:
30     - always
31
32 - name: enable csv plugin
33   import_tasks: csv.yml
34
35 - name: enable default plugins
36   import_tasks: default_read_plugins.yml
37
38 - name: enable exec plugin
39   import_tasks: exec.yml
40
41 - name: enable hugepages plugin
42   import_tasks: hugepages.yml
43
44 - name: enable kafka plugin
45   import_tasks: kafka.yml
46
47 - name: enable logfile plugin
48   import_tasks: logfile.yml
49
50 - name: enable mcelog plugin
51   import_tasks: mcelog.yml
52
53 - name: enable network plugin
54   import_tasks: network.yml
55
56 - name: enable prometheus plugin
57   import_tasks: prometheus.yml
58   when: groups['prometheus_hosts'] is defined
59
60 - name: enable pmu plugin
61   import_tasks: pmu.yml
62
63 - name: enable rdt plugin
64   import_tasks: rdt.yml
65
66 - name: enable rddtool plugin
67   import_tasks: rrdtool.yml
68
69 - name: enable snmp_agent plugin
70   import_tasks: snmp_agent.yml
71
72 - name: enable syslog plugin
73   import_tasks: syslog.yml
74
75 - name: enable virt plugin
76   import_tasks: virt.yml
77
78 - name: enable ipmi plugin
79   include: ipmi.yml
80
81 - name: enable uuid plugin
82   include: uuid.yml
83
84 - name: copy additional config files
85   include: additional_configs.yml