ansible-labs/30.Task_Inclusion/solution/tasks/copy_file.yml

4 lines
102 B
YAML

- name: Copy myFile.txt to all hosts
copy:
src: "{{ playbook_dir }}/myFile.txt"
dest: /tmp/