- 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
