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

19 lines
377 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
2014-10-01 19:38:16 +00:00
tags:
- collectd
2014-05-29 16:36:43 +00:00
notify: restart collectd
- name: Copy in /etc/collectd.d/postgres.conf
template: >
src=postgres.conf
dest=/etc/collectd.d/postgres.conf
2014-10-01 19:38:16 +00:00
tags:
- collectd
2014-05-29 16:36:43 +00:00
notify: restart collectd