Brak opisu
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 551B

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