Merge "Split --syntax-check and --list-tasks steps in test-bifrost.sh"

This commit is contained in:
Jenkins 2016-08-31 02:02:22 +00:00 committed by Gerrit Code Review
commit 00fcd4e9a2

View File

@ -89,17 +89,17 @@ fi
cd $BIFROST_HOME/playbooks
# Syntax check of dynamic inventory test path
${ANSIBLE} -vvvv \
-i inventory/localhost \
test-bifrost-create-vm.yaml \
--syntax-check \
--list-tasks
${ANSIBLE} -vvvv \
-i inventory/localhost \
${TEST_PLAYBOOK} \
--syntax-check \
--list-tasks \
-e testing_user=${TESTING_USER}
for task in syntax-check list-tasks; do
${ANSIBLE} -vvvv \
-i inventory/localhost \
test-bifrost-create-vm.yaml \
--${task}
${ANSIBLE} -vvvv \
-i inventory/localhost \
${TEST_PLAYBOOK} \
--${task} \
-e testing_user=${TESTING_USER}
done
# Create the test VM
${ANSIBLE} -vvvv \