Clean up new collectd role
This commit is contained in:
parent
cd5b9dd331
commit
02fbe41f0e
2 changed files with 3 additions and 3 deletions
|
@ -11,13 +11,13 @@
|
|||
|
||||
# install collected.conf
|
||||
- name: /etc/collectd.conf
|
||||
template: src="{{ files }}/collectd/collectd.conf.j2" dest=/etc/collectd.conf
|
||||
template: src=collectd.conf.j2 dest=/etc/collectd.conf
|
||||
notify:
|
||||
- restart collectd
|
||||
|
||||
# install collectd-network config
|
||||
- name: /etc/collectd.d/network.conf
|
||||
copy: src="{{ files }}/collectd/network-client.conf" dest=/etc/collectd.d/network.conf
|
||||
copy: src=network-client.conf dest=/etc/collectd.d/network.conf
|
||||
notify:
|
||||
- restart collectd
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
|||
when: collectd_apache is defined
|
||||
|
||||
- name: /etc/collectd/apache.conf
|
||||
copy: src="{{ files }}/collectd/apache.conf" dest=/etc/collectd.d/apache.conf
|
||||
copy: src=apache.conf dest=/etc/collectd.d/apache.conf
|
||||
notify:
|
||||
- restart collectd
|
||||
when: collectd_apache is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue