2 ms·
It's your toy, but I wanted to draw your attention to this very, very common "templating in yaml" bug world: "{result:hello:message}" will always require qu
by mdaniel 2y ago
It's your toy, but I wanted to draw your attention to this very, very common "templating in yaml" bug
world: "{result:hello:message}"
will always require quoting, because { is a special character in yaml. Contrast that with the GitHub Actions version of
world: ${{result:hello:message}}
which doesn't require quoting because $ isn't a yaml special character. I don't have any insight about { versus {{ so I think you can pick your favorite but the leading character matters and it'd be better to fix that early in the tool's life than to suffer the Ansible outcome
- lordgreg 2y agoHi mdaniel, thank you for pointing this out. I will look into it since validity of yaml is something I always fight with, no matter if its pure yaml standard, helm-type or ytt. I will add this to the todo/refactor list :) Much appreciated!