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.
1234567891011121314 |
- - name: Install collectd
- apt: pkg=collectd state=installed
-
- - name: Copy collectd configuration file into place
- template: src=etc_collectd_collectd.conf.j2 dest=/etc/collectd/collectd.conf
- notify: restart collectd
-
- - name: Ensure collectd is started
- service: name=collectd state=started
-
- # Work around https://github.com/ansible/ansible-modules-core/issues/915
- # otherwise we'd use enabled=yes in previous task
- - name: Ensure collectd is enabled
- command: update-rc.d collectd enable creates=/etc/rc3.d/S03collectd
|