Custom ansible configuration file ignored while running job template by Red Hat Ansible Automation Platform.

Solution Verified - Updated -

Issue

  • Getting the below message in the job template output:

    [WARNING]: Ansible is being run in a world-writable directory(/runner/project), ignoring it as an ansible.cfg source.
    
  • How can a custom ansible.cfg file in the project directory be used with a job template(s)?

Environment

  • Red Hat® Ansible Automation Platform 2.4

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