Skip to content

Commit b672080

Browse files
committed
fix: ansible toolstack upgrade
1 parent 6f77eae commit b672080

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

ansible/ansible.cfg

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ inventory = inventory.ini
33
roles_path = roles
44
host_key_checking = False
55
retry_files_enabled = False
6-
stdout_callback = yaml
6+
# `stdout_callback = yaml` resolved to the community.general.yaml plugin, which
7+
# was removed in community.general 12.0.0 — ansible-core superseded it with the
8+
# result_format option below in 2.13. The deploy workflow installs ansible
9+
# unpinned, so it started failing at startup the moment that release landed.
10+
stdout_callback = default
11+
# Note the key is `callback_result_format`, not `result_format` — the latter is
12+
# the option's name in ansible-doc but not its ini key, and ansible ignores
13+
# unknown ini keys silently, so the wrong one costs you the YAML output with no
14+
# error to explain why.
15+
callback_result_format = yaml
716

817
[ssh_connection]
918
pipelining = True

0 commit comments

Comments
 (0)