they forgot "document everything you did so that your replacement can recreate everything exactly as it was from instructions and backups"
You could always make an Ansible module but then there's the overhead to managing/installing that
Data wrangling can also make idempotent playbooks a bit clunky, too. You get into this 2-4 play "run check, reshape results, conditionally run play" pattern
Even cloud providers, who have APIs for everything, will fuck up at making services that can be deployed as code in a sane way.
If I have to check or change something or recreate it even 6 months later I often have no clue what the heck I did.