Skip to content

ansible.cfg: fix removed community.general.yaml callback plugin - #384

Merged
ddemlow merged 1 commit into
mainfrom
fix/ansible-cfg-removed-callback-plugin
Oct 29, 2026
Merged

ddemlow merged 1 commit into
mainfrom
fix/ansible-cfg-removed-callback-plugin

Conversation

@ddemlow

@ddemlow ddemlow commented Oct 29, 2026

Copy link
Copy Markdown
Member

Summary

community.general.yaml (the stdout_callback this repo's ansible.cfg used) was removed
in community.general 12.0.0, superseded by ansible.builtin.default's own
result_format=yaml. integ-test.yml installs community.general with no version pin, so
it now pulls a version past that removal, and every raw ansible-playbook invocation
(prepare_iso.yml, prepare_vm.yml, prepare_examples.yml, ci_replica_cleanup.yml) fails
immediately with:

ERROR! [DEPRECATED]: community.general.yaml has been removed. The plugin has been superseded
by the option `result_format=yaml` in callback plugin ansible.builtin.default from
ansible-core 2.13 onwards. This feature was removed from community.general in version
12.0.0. Please update your playbooks.

before any task runs.

Found on the first real dispatch run since this collection's CI was reconnected to live
hosts
(2026-10-29, after #383) — reproduced identically against both
https://10.6.112.64 and https://10.6.42.19, so it's host-independent. Not a regression
from #383
: this would have broken against the old PUB5/XLab hosts too, it just never got
the chance since integ-test.yml had been disabled_manually since June.

Confirmed the fix resolves correctly with community.general 13.2.0 installed locally:
ansible-config dump --only-changed reports DEFAULT_STDOUT_CALLBACK = default after this
change.

Evidence this doesn't affect actual test results

The ansible-test-driven test execution itself (the thing that actually asserts pass/fail)
doesn't go through this ansible.cfg callback the same way — on the same run that hit this
failure, the cluster_info test and the full integ-physical replication suite
(vm_replication/vm_replication_info/vm_clone__replicated/support_tunnel) ran and
passed against .64 despite integration-prepare-env failing on the callback error. This
fix unblocks the raw-ansible-playbook prepare/cleanup steps specifically.

Test plan

  • ansible-config dump confirms the new config resolves (done locally)
  • Re-run integ-test.yml's integration-prepare-env job after merge — this is what
    actually exercises the broken path

community.general.yaml was removed in community.general 12.0.0, superseded by
ansible.builtin.default's own result_format=yaml. integ-test.yml installs
community.general with no version pin, so it now pulls a version past that
removal and every ansible-playbook invocation (prepare_iso/prepare_vm/
prepare_examples, ci_replica_cleanup) failed outright with "ERROR!
[DEPRECATED]: community.general.yaml has been removed" before running any
task.

Hit on the first real run since this collection's CI was reconnected to live
hosts (2026-10-29, PR #383) -- host-independent, reproduced identically on
both https://10.6.112.64 and https://10.6.42.19. Not a regression from that
PR: this would have broken against the old PUB5/XLab hosts too, it just never
got the chance since CI had been fully disabled since June.

Confirmed locally with community.general 13.2.0 installed: `ansible-config
dump` resolves stdout_callback=default correctly after this change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ddemlow
ddemlow merged commit 3edfce0 into main Oct 29, 2026
6 checks passed
@ddemlow
ddemlow deleted the fix/ansible-cfg-removed-callback-plugin branch October 29, 2026 11:14
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