Skip to content

Commit

Permalink
Fixing sandbox unbound variable error (#286)
Browse files Browse the repository at this point in the history
When using set -o nounset in Bash scripts variables have to have value
  • Loading branch information
radoslawc authored Jul 15, 2024
1 parent 5cd3f9d commit cd7ceaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/provision/install_sandbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fact_caching_connection = /tmp
EOT

# Management cluster creation
ansible_cmd="$(command -v ansible-playbook) -i 127.0.0.1, playbooks/cluster.yml --tags ${ANSIBLE_TAG} "
ansible_cmd="$(command -v ansible-playbook) -i 127.0.0.1, playbooks/cluster.yml --tags ${ANSIBLE_TAG:-all} "
[[ ${DEBUG:-false} != "true" ]] || ansible_cmd+="-vvv "
if [ -n "${ANSIBLE_CMD_EXTRA_VAR_LIST:-}" ]; then
ansible_cmd+=" --extra-vars=\"${ANSIBLE_CMD_EXTRA_VAR_LIST}\""
Expand Down

0 comments on commit cd7ceaa

Please sign in to comment.