Interview Prep/Ansible/Vault, Performance and Execution Behaviour

`ERROR! Invalid callback for stdout specified: yaml` after rebuilding the controller

BeginnerTroubleshootingVault, Performance and Execution Behaviour
Answer

Likely causes → stdout_callback = yaml relied on the community.general.yaml callback, which is missing in a minimal ansible-core install, and is deprecated in favour of the built-in result format option.

Fix →

[defaults]
stdout_callback = ansible.builtin.default
callback_result_format = yaml

Prevent → Prefer built-in options over collection callbacks for core behaviour, and keep ansible.cfg in the repo, reviewed like code.

All Ansible questions Roadmap: Ansible

More on Vault, Performance and Execution Behaviour