When Using the Copy Module from Ansible Tower, I Am Receiving the Error AnsibleFileNotFound?

Solution Verified - Updated -

Issue

  • When copying files to/from a location on the tower filesystem the following error may be seen during that playbook run from tower:

    FAILED! => {"changed": false, "msg": "Could not find or access '/path/to/file'"}
    
  • For AAP 2.x, the below exception was noticed while executing the copy module.

    Could not find or access (File) on the Ansible Controller.\If you are using a module and expect the file to exist on the remote, see the remote_src option"
    

Environment

  • Ansible Tower 3.8.x
  • Ansible Automation Platform 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content