4 ms·
Both are solid and will do the job. Ansible is a little bit easier to get started for a few reason (yaml instead of a DSL, ssh only...) ; it's also mostly task
by bionsystem 2y ago
Both are solid and will do the job.
Ansible is a little bit easier to get started for a few reason (yaml instead of a DSL, ssh only...) ; it's also mostly tasks running through SSH which may feel a bit more "natural" when you are configuring machines initially.
In terms of idempotency I find it is easier in ansible to mess up something but if you are careful they are on par. I've used mostly ansible over the past few years in various jobs but the first I got in touch with ~10 years ago was puppet and it felt very solid especially for heterogeneous environments (we had different archs and OSes to manage). Also puppet scales very well because it has agents as well as many tools to manage large infrastructures which I tried and were already quite convenient 10 years ago.
TL;DR probably use ansible unless you have a very specific use case.
- danmur 2y agoThe DSL (and associated IDE support) is about the only thing I like about puppet
- mdaniel 2y agoI am a pretty big proponent of ansible but I have given grave consideration to making a fork that uses Skylark instead of yaml because the "what can I type here?" story is terrible as is. Most of the jinja expressions are already basically python so it seems like a natural fit