title: Simple Ansible playbook: Location of file for task to copy file to target servers?
body: <p>As a proof of concept, I'm trying to create what is probably the simplest ansible playbook ever: copying a single file from the ansible server out to the server farm.</p>
  
  <p>For completeness, ansible is installed properly.  The ping module works great! LoL</p>
  
  <p>The playbook for my POC reads:</p>
  
  <pre>
  ---
  - hosts: Staging
    tasks:
      - name: Copy the file
        copy: src=/root/Michael/file.txt dest=/tmp/file.txt
  </pre>
  
  <p>When I run the command...</p>
  
  <p><code>ansible-playbook book.yml</code></p>
  
  <p>I get the following output (summarized)...</p>
  
  <p><code>msg: could not find src=/root/Michael/file.txt</code></p>
  
  <p>Various docs and web pages I've read said the path to the file can either be absolute or relative to the playbook.  I've tried both without success.</p>
  
  <p>Where should my file be to get ansible to copy it over to the target servers?</p>
  
  <p>Thanks!</p>