Apply cloud stats work from ticket 3893. Thanks doteast and many others that worked on this!
This commit is contained in:
parent
059821a1de
commit
a3d652e9af
4 changed files with 108 additions and 0 deletions
15
roles/cloudstats/tasks/main.yml
Normal file
15
roles/cloudstats/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: Install the cloud-image-stat script
|
||||
copy: >
|
||||
src=cloud-image-stat.py dest=/usr/local/bin/cloud-image-stat.py
|
||||
owner=root group=root mode=0755
|
||||
tags:
|
||||
- files
|
||||
- cloudstats
|
||||
|
||||
- name: Install the cloud-image-stats cronjob to collect stats from log01
|
||||
copy: >
|
||||
src=cloud-image-stat.cron dest=/etc/cron.d/cloud-image-stat.cron
|
||||
owner=root group=root mode=0644
|
||||
tags:
|
||||
- cron
|
||||
- cloudstats
|
Loading…
Add table
Add a link
Reference in a new issue