ansible / ansible-runner

A tool and python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported. The goal is to provide a stable and consistent interface abstraction to Ansible.
Other
969 stars 357 forks source link

Pass inventory directory path instead of file path when using containerization #1304

Closed christophert closed 1 year ago

christophert commented 1 year ago

Proposed solution to #1303 by removing the static hosts file from the inventory directory path when in containerized mode. This should allow ansible-runner to read all inventory files with the directory matching non-containerized functionality.

Fixes #1303