News for hackers. Stuff that matters.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by dnautics on Thursday June 25, 2020 @10:37PM (#23648143)
Embedding python in yaml has a ton of gotchas for cases where string processing doesn't quite line up with the way yaml wants things. Variable interpolation is also a real mess.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by geerlingguy on Thursday June 25, 2020 @10:56PM (#23648233)
Typically the recommendation is to write your own python plugin/filter/test if you find yourself writing a lot of python in yaml, that way the yaml stays sane and readable, and just has some light Jinja.