It's debatable. Ansible/Chef/Puppet themselves need to be bootstrapped as well.
Bash is perfectly fine if the machine can be installed with less than 100 lines of code and immutable infrastructure is being used (so no need for idempotent operations). Just make sure to add ShellCheck to the CI pipeline.