Move set +e to ensure VM creation causes failure
Change-Id: I0f9575eec79b3b81626ee0a1d9cc362f807fb6cd
This commit is contained in:
parent
97e211b597
commit
d6b7701250
@ -23,11 +23,11 @@ cd $BIFROST_HOME/playbooks
|
|||||||
ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check --list-tasks
|
ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check --list-tasks
|
||||||
ansible-playbook -vvvv -i inventory/localhost test-bifrost-dynamic.yaml --syntax-check --list-tasks
|
ansible-playbook -vvvv -i inventory/localhost test-bifrost-dynamic.yaml --syntax-check --list-tasks
|
||||||
|
|
||||||
set +e
|
|
||||||
|
|
||||||
# Create the test VM
|
# Create the test VM
|
||||||
ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml
|
ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml
|
||||||
|
|
||||||
|
set +e
|
||||||
|
|
||||||
# Set BIFROST_INVENTORY_SOURCE
|
# Set BIFROST_INVENTORY_SOURCE
|
||||||
export BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv
|
export BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user