ansible / ansible-builder

An Ansible execution environment builder
Other
289 stars 92 forks source link

Ansible Galaxy check script error message may be somewhat misleading #694

Closed brookelew closed 1 month ago

brookelew commented 2 months ago

In scripts/check_galaxy, it gives a The 'ansible-galaxy' command is not found in the base image. message if the return code of ansible-galaxy --version is not 0, which could be caused by other things, e.g. incorrect ansible.cfg even if ansible-galaxy is installed.

Shrews commented 1 month ago

Thank you for the report. I can see where this message may be misleading in that circumstance. Something along the lines of There was a problem with the 'ansible-galaxy' command or similar may be better.