Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

collectd.yml 524B

1234567891011121314
  1. - name: Install collectd
  2. apt: pkg=collectd state=installed
  3. - name: Copy collectd configuration file into place
  4. template: src=etc_collectd_collectd.conf.j2 dest=/etc/collectd/collectd.conf
  5. notify: restart collectd
  6. - name: Ensure collectd is started
  7. service: name=collectd state=started
  8. # Work around https://github.com/ansible/ansible-modules-core/issues/915
  9. # otherwise we'd use enabled=yes in previous task
  10. - name: Ensure collectd is enabled
  11. command: update-rc.d collectd enable creates=/etc/rc3.d/S03collectd