Why Does an Ansible Module Fail to Find Files on Remote Source with 'with_file_glob'?

Solution Verified - Updated -

Issue

An Ansible playbook containing a file module fails to find an existing file on a remote source that matches a with_file_glob attribute included in the task.

Environment

  • Ansible Engine

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