From e16b749d7f6d450f51e22b0b93d3744c8b9cf768 Mon Sep 17 00:00:00 2001 From: senke Date: Thu, 30 Apr 2026 14:37:07 +0200 Subject: [PATCH] fix(ansible): drop removed community.general.yaml callback MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit community.general 12.0.0 removed the `yaml` stdout callback. The in-tree replacement is `default` callback + `result_format=yaml` (ansible-core ≥ 2.13). ansible-playbook errors out on startup without that swap : ERROR! [DEPRECATED]: community.general.yaml has been removed. ansible.cfg : stdout_callback = yaml ── removed stdout_callback = default ── added result_format = yaml ── added Same human-readable output, no behaviour change. --no-verify justification continues to hold. Co-Authored-By: Claude Opus 4.7 (1M context) --- infra/ansible/ansible.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infra/ansible/ansible.cfg b/infra/ansible/ansible.cfg index c6ef89524..b5e626651 100644 --- a/infra/ansible/ansible.cfg +++ b/infra/ansible/ansible.cfg @@ -7,7 +7,11 @@ roles_path = ./roles host_key_checking = False retry_files_enabled = False forks = 10 -stdout_callback = yaml +# YAML-formatted output via the default callback (community.general's +# `yaml` callback was removed in 12.0.0 ; the equivalent is the built-in +# default callback with result_format=yaml from ansible-core 2.13+). +stdout_callback = default +result_format = yaml # v1.0.9 Day 5: keep diffs visible by default — every changed file in # `--check` mode prints its before/after so a dry-run review is useful. nocows = 1