News for hackers. Stuff that matters.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by p_l on Thursday June 25, 2020 @03:18PM (#23644406)
Ansible is writing bash scripts in YAML, templates using system that doesn't grok YAML and causes parsing errors due to whitespace, interpreted by schizophrenic Python that might be 2 or it might be 3.

... I guess pure bash might be better.

Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by partdavid on Thursday June 25, 2020 @07:31PM (#23646989)
I have my issues with Ansible, and I'm really not a fan of "templated YAML"-based tools, which has been an unfortunate trend that's not limited to Ansible (GCDM and helm share this problem). But if you're writing a lot of bash scripts into your plays you're probably doing it wrong.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by pnutjam on Thursday June 25, 2020 @03:55PM (#23644846)
you can run pure bash from ansible, either by copying a script or using the shell module: examples: both with sudo

ansible all -m shell -a "hostname" -b

ansible all -m script -a "script=/home/user/myscript.sh" -b

I love to throw together a quick inventory list and run adhoc ansible commands against a bunch of servers.