top | item 43671543

(no title)

pkkm | 10 months ago

Programming with string templates, in a highly complex and footgun-rich markup language, is one of the things I find most offputting about the DevOps ecosystem.

discuss

order

sph|10 months ago

I believe Satan itself decided to mix YAML, Jinja and Turing-complete logic when it created Ansible. It truly is the sendmail of the modern era.

senderista|10 months ago

Several years ago when I was writing a deployment system for a cloud distributed database, I tried to automate everything with Ansible playbooks and the Ansible "API" (LOL). I pretty quickly gave up on implementing anything but the most trivial logic in templated YAML and switched to Python (wrapping maximally-dumb Ansible playbooks) for everything nontrivial.

Fizzadar|10 months ago

You might like pyinfra.

nicktelford|10 months ago

This is why I generally use Terraform for Kubernetes. It's not perfect, but it's miles better than the various different YAML-templating solutions (Kustomize, Helm) popular in the Kubernetes ecosystem.

mdaniel|10 months ago

Two different stateful recordkeeping control planes with disparate opinions about the current state of the world. What can go wrong.