Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible
by llama052 on Thursday June 25, 2020 @07:11PM
(#23646836)
Can't say I've ever really thought of YAML as complex. Especially when the Ansible modules are translating things so you can just define the action you want to take, and each module is very well documented.
[ Parent
| on HN ]
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.