### # ansible-playbook -l $hosts -K --diff --check deploy-kvmstats.yml --- - hosts: all become: yes tasks: - name: kvmstats is installed copy: src: kvmstats dest: /usr/share/scripts/kvmstats mode: "0700" - name: cron for kvmstats is installed copy: src: kvmstats.cron dest: /etc/cron.hourly/kvmstats mode: "0755" - name: entry for kvmstats in web page is present lineinfile: dest: /var/www/index.html insertbefore: '' line: '
  • kvmstats
  • '