How to use copy or fetch module on Red Hat Ansible Automation Platform 2.x?

Solution Verified - Updated -

Issue

  • While copying file from Ansible controller to Remote host, module is giving the below error

    msg: Could not find or access '/tmp/output2.csv' on the Ansible Controller.
    
  • While copying file from Remote host to Ansible controller, module executes successfully but doesn't copy file on the destination path

Environment

  • Red Hat® 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