News for hackers. Stuff that matters.
Re:Interesting Uses of Ansible's ternary filter by xorcist on Thursday February 22, 2024 @10:41AM (#39468720)
I see you haven't worked with Istio, yet.

Kidding aside, it is somewhat amusing to see the same discussion as when chef happened repeat itself.

Ansible clearly had to take a lot of liberties with the yaml format to make it work in practice. The amount of yaml in yaml you have to write is surprising. I cannot wait for the cycle to repeat itself.

Re:Interesting Uses of Ansible's ternary filter by mdaniel on Thursday February 22, 2024 @12:09PM (#39469978)
> Ansible clearly had to take a lot of liberties with the yaml format to make it work in practice

and yet, completely facepalmed by invoking Jinja2 with its default begin and end characters that are meaningful to yaml, thus ensuring billions of person-years of SO questions due to having to quote, sometimes multiple ways, every jinja2 invocation

Contrast that to GitHub Actions which uses ${{ }} for its parameterization and thus no quoting required, in contrast to

  - debug:
      msg: '{{ "what kind of lack of forethought was this nonsense" }}'