title: Error with copy module using ansible 2.1
body: <p>I was able to use the ansible 2.1 copy module when I had the roles directory inside my parent ansible directory.  I then proceeded to move the roles directory inside my playbooks directory (since I was getting an error complaining about missing roles when calling plays inside the playbook directory and keeping the roles inside the main ansible directory).  Now, when I run the same tasks, the copy command appears to fail with the error copied below (nothing has changed on the remote machine).</p>
  
  <p><strong>task</strong></p>
  
  <pre><code>- copy: src={{ debian_build.stdout }}  dest=/home/ubuntu/ owner=ubuntu group=ubuntu mode=644 backup=yes
    become: true
    become_user: root 
    become_method: sudo
  </code></pre>
  
  <p>debian_build is a valid path.</p>
  
  <p><strong>error</strong></p>
  
  <pre><code>fatal: [testserver]: FAILED! =&gt; {"failed": true, "msg": "Failed to get information on remote file (/home/ubuntu/test-server_0.1.0-27686387a8b765f3dfb0bfea287737f97f223f14_all.deb): MODULE FAILURE"}
  </code></pre>
  
  <p><strong>Updated</strong></p>
  
  <p><strong>site.yml</strong></p>
  
  <pre><code>## move artifacts to remote servers
  - include: playbooks/test.yml
  </code></pre>
  
  <p><strong>playbooks/test.yml</strong></p>
  
  <pre><code>---
  - name:  test deployment for xyz 
    hosts: testservers
    strategy: debug  ## turn off if not debugging
  
    roles:
    - test
  </code></pre>
  
  <p><strong>test/tasks</strong></p>
  
  <h2><strong>main.yml</strong></h2>
  
  <ul>
  <li>include: copy.yml</li>
  </ul>
  
  <p><strong>copy.yml</strong></p>
  
  <p>I tried modifying the copy.yml to the following as well but neither works. </p>
  
  <pre><code>---
  - name: transferring artifact to server
    copy:
      src: "{{ lookup('fileglob','/tmp/test/testproj/target/*.deb', wantlist=true) | first }}"
      dest: /home/ubuntu/
      owner: ubuntu
      group: ubuntu
      mode: 644
      backup: yes
    become: true
    become_user: root 
    become_method: sudo
  
  #  local_action: shell ls -d /tmp/repos/latchapi-beta/target/*.deb
  #  register: debian_build
  #- debug: msg={{ debian_build.stdout }}
  
  #- copy: src={{ debian_build.stdout }}  dest=/home/ubuntu/ owner=ubuntu group=ubuntu mode=644 backup=yes
  #  become: true
  #  become_user: root
  #  become_method: sudo
  </code></pre>
  
  <p>When I run the playbook with -vvv, I get the following output before the error message:</p>
  
  <pre><code>ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; ESTABLISH SSH CONNECTION FOR USER: None
  &lt;ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; SSH: EXEC ssh -C -q -o ForwardAgent=yes -o Port=1212 -o 'IdentityFile="/home/testuser/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ec2-abc.def.ghi.jkl.compute-1.amazonaws.com '/bin/sh -c '"'"'( umask 77 &amp;&amp; mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1476129233.91-106561207229420 `" &amp;&amp; echo ansible-tmp-1476129233.91-106561207229420="` echo $HOME/.ansible/tmp/ansible-tmp-1476129233.91-106561207229420 `" ) &amp;&amp; sleep 0'"'"''
  &lt;ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; PUT /tmp/tmpRHKTU1 TO /home/testuser/.ansible/tmp/ansible-tmp-1476129233.91-106561207229420/stat
  &lt;ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; SSH: EXEC sftp -b - -C -o ForwardAgent=yes -o Port=1212 -o 'IdentityFile="/home/testuser/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 '[ec2-abc.def.ghi.jkl.compute-1.amazonaws.com]'
  &lt;ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; ESTABLISH SSH CONNECTION FOR USER: None
  &lt;ec2-abc.def.ghi.jkl.compute-1.amazonaws.com&gt; SSH: EXEC ssh -C -q -o ForwardAgent=yes -o Port=1212 -o 'IdentityFile="/home/testuser/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -tt ec2-abc.def.ghi.jkl.compute-1.amazonaws.com '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-khhahbdoujszvmnsqqqoglhkeeihbcog; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/testuser/.ansible/tmp/ansible-tmp-1476129233.91-106561207229420/stat; rm -rf "/home/testuser/.ansible/tmp/ansible-tmp-1476129233.91-106561207229420/" &gt; /dev/null 2&gt;&amp;1'"'"'"'"'"'"'"'"' &amp;&amp; sleep 0'"'"''
  </code></pre>