Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Added entrypoint shellscript for simplified run of ansible playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
samvarankashyap committed Jul 17, 2017
1 parent b2b7028 commit 0dc3d84
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .aht.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -z "$TEST_PATH" ]; then
echo "No test provided; please supply a value for TEST_PATH"
exit 1
fi
if [ ! -f "/atomic-host-tests/$TEST_PATH" ]; then
echo "The value for TEST_PATH does not exist"
exit 1
fi
env ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook "/atomic-host-tests/$TEST_PATH" "$@"

0 comments on commit 0dc3d84

Please sign in to comment.