Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

collectd.yml 553B

12345678910111213141516
  1. - name: Install collectd
  2. apt: pkg=collectd state=installed
  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