I wish there was a convenient way of using the modules (which are robust and powerful) without the yaml format and boilerplate.
I wish there was a convenient way of using the modules (which are robust and powerful) without the yaml format and boilerplate.
That said, just to undermine my own point - it is trivial to create an ansible module and i have done that when the alternative YAML would have been horrible.
Another promising effort in this direction is Jetbrains Space, which features CI config in a Kotlin DSL.
But it seems like it covers a bit of a different space to Ansible... Pulumi will boot up your infrastructure but you still need something like Ansible to install packages on the nodes afterwards.
My impression of Ansible in the past was that it's more complicated than it was supposed to be.
I kind of hope Pulumi will extend in that direction over time, I would rather use one tool for everything and I don't see why it couldn't. The docs for writing your own providers are a bit weak at the moment though.
https://github.com/Fizzadar/pyinfra
HN discussion: https://news.ycombinator.com/item?id=23487178