The ansible generate_inventory.sh script uses Bash features but the shell is set to /bin/sh. This works on systems like Mac OS where /bin/bash is used when you call /bin/sh, but fails on systems that have /bin/sh.
The script should use /bin/bash if it is going to use Bash features.
The ansible
generate_inventory.sh
script uses Bash features but the shell is set to/bin/sh
. This works on systems like Mac OS where/bin/bash
is used when you call/bin/sh
, but fails on systems that have/bin/sh
.The script should use
/bin/bash
if it is going to use Bash features.