- hosts: lab gather_facts: true tasks: - name: Create html report template: src: template/report.j2 dest: /tmp/report.html delegate_to: localhost run_once: true # vim: set ft=yaml sw=2 et: