暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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