Remix.run Logo
figmert 9 hours ago

> Ansible

OP asked for something consistent and between K8s and Swarm. Ansible is just a mistake that people refuse to stop using.

betaby 9 hours ago | parent | next [-]

> Ansible is just a mistake that people refuse to stop using.

So is Helm! Helm is just a mistake that people refuse to stop using.

zrail 7 hours ago | parent [-]

Nobody who has used Helm in anger will debate this with you.

the_alchemist 9 hours ago | parent | prev [-]

Please elaborate

figmert 9 hours ago | parent [-]

Ansible is a procedural mess. It's like helm had a baby with a very bad procedural language. It works, but it's such a mess to work with. Half of the time it breaks because you haven't thought about some if statement that covers a single node or some bs.

Comparing that to docker swarm and/or k8s manifests (I guess even Helm if you're not the one developing charts), Ansible is a complete mess. You're better off managing things with Puppet or Salt, as that gives you an actual declarative mechanism (i.e. desired state like K8s manifests).

retroflexzy 8 hours ago | parent | next [-]

> Ansible is a complete mess. You're better off managing things with Puppet or Salt, as that gives you an actual declarative mechanism

We thought this, too, when choosing Salt over Ansible, but that was a complete disaster.

Ansible is definitely designed to operate at a lower abstraction level, but modules that behave like desired state declarations actually work very well. And creating your own modules turned out to be at least an order of magnitude easier than in Salt.

We do use Ansible to manage containers via podman-systemd, but slightly hampered by Ubuntu not shipping with podman 5. It's... fine?

Our mixed Windows, Linux VM and Linux bare metal deployment scenario is likely fairly niche, but Ansible is really the only tenable solution.

mono442 7 hours ago | parent | prev [-]

All of them are trying to create something which seems declarative on top of a mutable system.

In my experience, it only works decently well when a special care is taken of when writing playbooks.