Ansible is one of the best examples of needless complexity I’ve ever interacted with.
Is there a better approach? I think yes. This is Pyinfra - just pure Python, no additional DSLs. Also for configuration there is Terraform (but there are also some limitations).