Bugfix: return missing deploy command

This commit is contained in:
Aleksandr Didenko 2016-06-16 14:36:07 +02:00
parent ea5b40ae0e
commit 60fa68e5f7

View file

@ -1,8 +1,6 @@
#!/bin/bash
custom_opts='--ansible-opts=\"-e kargo/custom.yaml\"'
nodes=""
i=0
for nodeip in `cat /root/nodes` ; do
i=$(( $i+1 ))
@ -17,6 +15,7 @@ else
fi
echo "Running deployment..."
kargo deploy -y --ansible-opts="-e kargo/custom.yaml"
deploy_res=$?
if [ "$deploy_res" -eq "0" ]; then