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.
... I guess pure bash might be better.