summaryrefslogtreecommitdiffstats
path: root/roles/cloudstats/tasks/main.yml
blob: d7c0c38e672a4d9ee6dde0eeded068c83359e342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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