diff --git a/tests/utils/gitlab/hcloud.sh b/tests/utils/gitlab/hcloud.sh index 5854e6a..19f8364 100755 --- a/tests/utils/gitlab/hcloud.sh +++ b/tests/utils/gitlab/hcloud.sh @@ -11,4 +11,5 @@ echo "[default] hcloud_api_token=${HCLOUD_TOKEN} " >> $(pwd)/tests/integration/cloud-config-hcloud.ini # shellcheck disable=SC2086 +export HOSTNAME="gitlab-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)" ansible-test integration --color --local -v "${target}" ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} ${UNSTABLE:+"$UNSTABLE"}