News for hackers. Stuff that matters.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by yjftsjthsd-h on Monday March 23, 2020 @08:27PM (#22670481)
> it's available everywhere (even openwrt routers and those things)

BASH itself? Or a Bourne-family shell? I thought most embedded systems were shipping busybox's ash as /bin/sh

Re:Bashible: An Ansible-inspired deployment/automation tool ... by travbrack on Monday March 23, 2020 @09:48PM (#22670980)
Most *nix server and cloud nodes use bash for the shell. You're right about embedded systems but they're not usually the target platform for a config management system like this one or Ansible.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by yjftsjthsd-h on Monday March 23, 2020 @10:39PM (#22671338)
Yeah, I was mostly thrown by the reference to openwrt. I'm sure most/all GNU/Linux systems ship BASH.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by shakna on Monday March 23, 2020 @11:03PM (#22671469)
Debian ship's dash for /bin/sh doesn't it?
Re:Bashible: An Ansible-inspired deployment/automation tool ... by detaro on Monday March 23, 2020 @11:26PM (#22671576)
but also ships bash for interactive use, so #!/bin/bash will just work, which you should be doing anyways in scripts that want bash.
Re:Bashible: An Ansible-inspired deployment/automation tool ... by mdaniel on Tuesday March 24, 2020 @12:21AM (#22671892)
If you use `env` instead, it'll pick up more recent versions of bash available on the path, such as the one installed by homebrew

    #!/usr/bin/env bash
Re:Bashible: An Ansible-inspired deployment/automation tool ... by abathur on Tuesday March 24, 2020 @12:14AM (#22671848)
/usr/bin/env bash?
Re:Bashible: An Ansible-inspired deployment/automation tool ... by toraobo on Tuesday March 24, 2020 @02:45AM (#22672576)
It's common even for embedded systems which use busybox to provide /bin/bash because bash itself is not that large.