ansible/roles/collectd/postgres/tasks/main.yml

15 lines
335 B
YAML
Raw Normal View History

2014-05-29 16:36:43 +00:00
---
- name: Copy in /usr/local/bin/collectd-postgres.sh
template: >
src=collectd-postgres.sh
dest=/usr/local/bin/collectd-postgres.sh
mode=0755
notify: restart collectd
- name: Copy in /etc/collectd.d/postgres.conf
template: >
src=postgres.conf
dest=/etc/collectd.d/postgres.conf
notify: restart collectd