Kuo-tung Kao 0c29fdfc8f provide a universal collectd template
The default config for collectd is very different between OS distro.
For example, in ubuntu, collectd read config from "/etc/collect/collect.conf.d".
But in centos, collectd read config from "/etc/collect.d"
We need to provide a universal collectd template
to make it convenient for different distros.

Change-Id: Ib82fcbb923cb32dbafce04e1e639a400d59a4365
Closes-Bug: #1652246
2017-01-12 10:05:44 +08:00

15 lines
445 B
YAML

---
- name: Starting collectd container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ collectd_image_full }}"
name: "collectd"
privileged: True
volumes:
- "{{ node_config_directory }}/collectd/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "kolla_logs:/var/log/kolla/"
- "/sys/:/sys/:ro"
- "/dev/:/dev/:ro"