- hosts: lab gather_facts: false tasks: - name: Copy myFile.txt to all hosts copy: src: "{{ playbook_dir }}/myFile.txt" dest: /tmp/ # vim: set ft=yaml sw=2 et: