title: Can't copy file with ansible 2.2 module
body: <p>i am trying to perform a simple copy task between two servers using ansible, my playbook script is:</p>
  
  <pre><code>- hosts: 10.100.12.26
    remote_user: myUser
    vars:
      MERCHANT_API_DEST_DIR: "/tmp/"
      MERCHANT_API_SRC_DIR: "/source/folder/"
    tasks:
      - name: Copy the spring boot jar to the host destiny
        become: true
        become_method: sudo
        copy:
          src: "{{item}}"
          dest: "{{MERCHANT_API_DEST_DIR}}"
        with_fileglob: "{{MERCHANT_API_SRC_DIR}}/file-name-*.jar"
  </code></pre>
  
  <p>When i execute the playbook with:</p>
  
  <pre><code>ansible-playbook my-playbook.yml --ask-pass
  </code></pre>
  
  <p>I get the message:</p>
  
  <pre><code>fatal: [10.100.12.26]: FAILED! =&gt; {"failed": true, "msg": "Failed to get information on remote file (/tmp/file-name-1.13.jar): MODULE FAILURE"}
  </code></pre>
  
  <p>I can't figure it out what the problem is, can someone help me?</p>