News for hackers. Stuff that matters.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by yjftsjthsd-h on Monday March 23, 2020 @08:26PM (#22670468)
Ansible already is pretty portable/flexible on target systems (the joys of being agentless and working mostly over SSH). You tend to need python and sometimes some specific modules (python-apt, for instance) on the target, but that's hardly a burden.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by gautamdivgi on Monday March 23, 2020 @10:16PM (#22671175)
I think the Ansible modules can be executable binaries as well. I have heard of modules written in go.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by yjftsjthsd-h on Monday March 23, 2020 @10:44PM (#22671368)
Having written Ansible modules in POSIX sh, I can assure you that this is absolutely the case:) Internally, Ansible modules are just normal executables that expect a very specific set of parameters and return a very specific JSON-encoded format. I believe there's also a newer pure-Python API, but I ignored it after realizing that it was much easier to just use the old one. (... and, of course, I really enjoyed the notion of writing a module in shell)