Skip to content

Install community.general Ansible collection in container#13

Merged
matthew-on-git merged 1 commit intomainfrom
fix/ansible-community-general
Mar 13, 2026
Merged

Install community.general Ansible collection in container#13
matthew-on-git merged 1 commit intomainfrom
fix/ansible-community-general

Conversation

@matthew-on-git
Copy link
Contributor

Summary

  • Add ansible-galaxy collection install community.general to install-ansible.sh
  • Add collection verification to test-ansible.sh
  • Fixes [ERROR]: Could not load 'yaml' callback plugin when projects use stdout_callback = yaml in ansible.cfg

Test plan

  • make check passes
  • Container build succeeds with collection installed
  • ansible-galaxy collection list community.general returns a result in new image
  • Projects using stdout_callback = yaml no longer fail

🤖 Generated with Claude Code

The dev-toolchain container ships ansible-core but not the
community.general collection, which is required for the yaml callback
plugin, json_query filter, and many commonly-used modules. Projects
using stdout_callback = yaml in ansible.cfg fail with "No module named
ansible_collections.community".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@matthew-on-git matthew-on-git merged commit 5904ca8 into main Mar 13, 2026
3 checks passed
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