News for hackers. Stuff that matters.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by pampa on Thursday June 25, 2020 @03:26PM (#23644489)
That is not entirely true. Ansible needs python installed on the target host, and a lot of modules (plugins?) require additional python libraries on the target.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by divbzero on Thursday June 25, 2020 @06:19PM (#23646416)
The av agent that GP refers to is a script that runs periodically on target hosts to pull the latest configuration using Git. Ansible has a Python dependency but no agent running on target hosts, instead relying on SSH to push configuration changes.

Ideally, I’d like to see a configuration tool that uses Ansible’s SSH push model but without the Python dependency.

Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by regularfry on Friday June 26, 2020 @06:39AM (#23650520)
Strictly speaking, shouldn't it be possible to bodge ansible to send and execute a static python interpreter to bootstrap a host? I've been bitten by "oh no, that Python's too old" or similar several times now. The idea of bootstrapping from only having a `sh` on the far end seems like it ought to be a thing, but (for instance) mitogen only goes part-way.

There was a pen-test tool designed on these lines once called Mosquito Lisp, which as far as I can see evolved into something called WaspVM: https://github.com/swdunlop/WaspVM I have no idea if it's in use, alive, or even working these days.

Is anyone working on this side of the problem and I've missed it?

Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by cloin on Thursday June 25, 2020 @05:21PM (#23645840)
If python is considered an agent, isn't bash now an agent?
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by soco on Thursday June 25, 2020 @03:51PM (#23644803)
It doesn't need any python. Ansible opens a regular ssh session and can run anything from it - including python if available.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by dfinninger on Thursday June 25, 2020 @04:28PM (#23645300)
Only with the “raw” module... which is what you use to ensure Python is installed on a machine managed by Ansible.
Re:Show HN: Aviary.sh – A tiny Bash alternative to Ansible by pnutjam on Thursday June 25, 2020 @03:59PM (#23644912)
you can use the "raw" module without python.