#!/bin/bash

HOST_GROUP=$1
DISK_NAME=$2
cd data/vehicle_data_sync/test/ci
ANSIBLE_HOST_KEY_CHECKING=false ansible-playbook ./kiosk_integration_test.yaml -i ../../../../infra/ansible/inventory/ingest_servers --extra-vars "host_group=$HOST_GROUP" --extra-vars "disk_name=$DISK_NAME"
EXIT_CODE=$?
cd -
exit $EXIT_CODE
