A pull request description is read by a human. An Ansible playbook is run by a machine, against real servers, with privileges. A typo in a description wastes a review round. A typo in a playbook can restart the wrong service on every host in your inventory β or hand your database password to anyone who can read the repository.
That is why a playbook deserves the same pre-flight check you give a pull request. Here is a 67-line playbook, the kind that grows out of copy-paste and late-night fixes, and the 23 things wrong with it.
The playbook I tested
This is the risky sample bundled with a checker.β¦