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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.