Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

christophert
Copy link
Contributor

@christophert christophert commented Sep 13, 2023

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

@christophert christophert requested a review from a team as a code owner September 13, 2023 21:12
@Shrews Shrews changed the title Remove static hosts file from inventory path if in containerized mode Pass inventory directory path instead of file path when using containerization Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dict provided inventory not read in containerized mode due to incorrect path set
2 participants