The latest AI models write noticeably cleaner Ansible than the ones they replace. We tested GPT-6.1 Sol, Claude Sonnet 5.5 and DeepSeek V4.1 Flash on a real Ansible task from our Q3 AI Model Leaderboard and checked every AI-generated Ansible playbook with Steampunk Spotter, which checks Ansible and Terraform code against policy before it runs.
None of the models produced a playbook Spotter passed without findings. Each one had between 13 and 23 warnings, and most of them point to the same thing: module defaults that changed between versions. On a playbook that upgrades firmware and reboots network switches, a default that changed without anyone noticing is exactly what you want to catch before it runs.
To compare them under the same conditions, we also reran the three models from our Q3 leaderboard on the same task, with one run per model.…