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

Validate inventory from CLI early #1307

Merged
merged 4 commits into from
Sep 26, 2023
Merged

Validate inventory from CLI early #1307

merged 4 commits into from
Sep 26, 2023

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Sep 15, 2023

Previous code was validating CLI inventory only when invoking runner with a role to run. This moves the validation earlier and exits if the specified inventory file or directory is not found.

Fixes #1295

@Shrews Shrews force-pushed the inventory branch 3 times, most recently from 4c48d5c to c74adb8 Compare September 18, 2023 14:53
@Shrews Shrews changed the title Inventory improvements CLI inventory improvements Sep 18, 2023
@Shrews Shrews changed the title CLI inventory improvements Validate inventory from CLI early Sep 18, 2023
@Shrews Shrews marked this pull request as ready for review September 18, 2023 17:54
@Shrews Shrews requested a review from a team as a code owner September 18, 2023 17:54
@github-actions github-actions bot added the docs Changes to documentation label Sep 18, 2023
@sivel sivel merged commit 5149467 into ansible:devel Sep 26, 2023
11 checks passed
@Shrews Shrews deleted the inventory branch September 27, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Changes to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Command-line argument --inventory does not work
3 participants