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

ansible-navigator does not respect "--format" within images sub-command #1857

Open
alexander-aps opened this issue Sep 26, 2024 · 0 comments
Labels
bug Researched, reproducible, committed to fix new New issues and PRs to triaged

Comments

@alexander-aps
Copy link

alexander-aps commented Sep 26, 2024

ISSUE TYPE
  • Bug Report
SUMMARY

ansible-navigator does not output in JSON when interrogating an Execution Environment.

ANSIBLE-NAVIGATOR VERSION
--> ansible-navigator --version
ansible-navigator 24.9.0

--> /usr/bin/python3 --version
Python 3.12.1
CONFIGURATION

Default configuration only.

LOG FILE

The settings are for DEBUG, but after first removing the log file, and then running the command, the resulting log file is zero bytes

ansible-navigator images --execution-environment-image ee-supported-rhel9_azure:latest --details system_packages --format json

EXPECTED RESULTS

I expect the resulting output to be in JSON format

ACTUAL RESULTS

The resulting output is in YAML format

@alexander-aps alexander-aps added bug Researched, reproducible, committed to fix new New issues and PRs to triaged labels Sep 26, 2024
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 new New issues and PRs to triaged
Projects
Status: No status
Development

No branches or pull requests

1 participant