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

Allow images subcommand to display the resulting output in JSON format #1872

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

shatakshiiii
Copy link
Contributor

@shatakshiiii shatakshiiii commented Nov 7, 2024

Fixes: #1857

The given command output before and after adding support for all available output formats:

ansible-navigator images --execution-environment-image community-ansible-dev-tools:latest --details system_packages --format json

Before:
Screenshot 2024-11-12 at 12 03 07 PM

After:
Screenshot 2024-11-12 at 11 55 24 AM

@shatakshiiii shatakshiiii added the bug Researched, reproducible, committed to fix label Nov 7, 2024
@shatakshiiii shatakshiiii self-assigned this Nov 7, 2024
@shatakshiiii shatakshiiii requested a review from a team as a code owner November 7, 2024 14:33
@shatakshiiii shatakshiiii marked this pull request as draft November 8, 2024 04:00
@shatakshiiii shatakshiiii marked this pull request as ready for review November 11, 2024 12:54
@shatakshiiii shatakshiiii merged commit 404feb5 into ansible:main Nov 13, 2024
16 checks passed
@shatakshiiii shatakshiiii deleted the fix/format_json_for_images branch November 13, 2024 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Researched, reproducible, committed to fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

ansible-navigator does not respect "--format" within images sub-command
2 participants