ansible/roles/collectd/postgres/tasks/main.yml
2014-10-01 19:38:16 +00:00

18 lines
377 B
YAML

---
- name: Copy in /usr/local/bin/collectd-postgres.sh
template: >
src=collectd-postgres.sh
dest=/usr/local/bin/collectd-postgres.sh
mode=0755
tags:
- collectd
notify: restart collectd
- name: Copy in /etc/collectd.d/postgres.conf
template: >
src=postgres.conf
dest=/etc/collectd.d/postgres.conf
tags:
- collectd
notify: restart collectd