diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-09-02 12:16:31 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-09-02 12:21:09 +0200 |
commit | 837770f26760031d28d10c3e9095cb46fa8c3d1c (patch) | |
tree | 544861c548e7c710eca103dfdc9830c7e9b029d7 | |
parent | 57e578123d816f78df19444e3ed9cb1a7dcec21e (diff) |
Reflect upstream change to local script fixing playbook syntax check
Upstream change: https://review.openstack.org/#/c/358477/
Change-Id: Ibfef32aec4b62d8d1d13728abec374a2d4560d81
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rwxr-xr-x | prototypes/bifrost/scripts/test-bifrost-deployment.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/prototypes/bifrost/scripts/test-bifrost-deployment.sh b/prototypes/bifrost/scripts/test-bifrost-deployment.sh index 66affe9a7..d796f3509 100755 --- a/prototypes/bifrost/scripts/test-bifrost-deployment.sh +++ b/prototypes/bifrost/scripts/test-bifrost-deployment.sh @@ -71,17 +71,17 @@ set -x -o nounset 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 VMS ${ANSIBLE} -vvvv \ |