Stub of a collectd role for fedmsg process health.
This commit is contained in:
parent
26b3dffd89
commit
b5f6044085
3 changed files with 90 additions and 0 deletions
14
roles/collectd/fedmsg-service/tasks/main.yml
Normal file
14
roles/collectd/fedmsg-service/tasks/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
|
||||
- name: Copy in /usr/local/bin/fedmsg-service-collectd
|
||||
copy: >
|
||||
src=fedmsg-service-collectd.py
|
||||
dest=/usr/local/bin/fedmsg-service-collectd
|
||||
mode=0755
|
||||
notify: restart collectd
|
||||
|
||||
- name: Copy in /etc/collectd.d/fedmsg-service.conf
|
||||
template: >
|
||||
src=fedmsg-service.conf
|
||||
dest=/etc/collectd.d/{{ process }}-conf
|
||||
notify: restart collectd
|
Loading…
Add table
Add a link
Reference in a new issue