fixes an error I encountered while using the ubuntu minimal server edition:
/tmp/tf-ansible-installer: 24: /tmp/tf-ansible-installer: curl: not found
/tmp/tf-ansible-installer: 27: /tmp/tf-ansible-installer: pip: not found
More generally, consider using set -euo pipefail, otherwise the script does not
stop as you see here in line 24 because the error is 'swallowed' by the use of a pipe.
fixes an error I encountered while using the ubuntu minimal server edition:
/tmp/tf-ansible-installer: 24: /tmp/tf-ansible-installer: curl: not found /tmp/tf-ansible-installer: 27: /tmp/tf-ansible-installer: pip: not found
More generally, consider using
set -euo pipefail
, otherwise the script does not stop as you see here in line 24 because the error is 'swallowed' by the use of a pipe.