- name: Playbook to copy local file fo remote hosts: webservers tasks: - name: copying file with playbook become: true copy: src: /home/corrado/test dest: /etc/test