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

CLI modules: improve docker version/info output processing, avoid querying for API version if it's not needed #935

Merged

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Improve docker version / docker info output processing to fail with nicer error messages if the required information is not present. This can happen if podman is used instead of docker.

Also aovid querying for the API version if it's not needed (which is the case for all current CLI based modules).

Ref: #891

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

plugins/module_utils/common_cli.py
CLI based modules

@felixfontein felixfontein merged commit 22bbfba into ansible-collections:main Jul 20, 2024
127 checks passed
@felixfontein felixfontein deleted the cli-server-version branch July 20, 2024 13:51
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.

1 participant