Bugfix: return missing deploy command
This commit is contained in:
parent
ea5b40ae0e
commit
60fa68e5f7
1 changed files with 1 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
custom_opts='--ansible-opts=\"-e kargo/custom.yaml\"'
|
|
||||||
nodes=""
|
nodes=""
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
for nodeip in `cat /root/nodes` ; do
|
for nodeip in `cat /root/nodes` ; do
|
||||||
i=$(( $i+1 ))
|
i=$(( $i+1 ))
|
||||||
|
@ -17,6 +15,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running deployment..."
|
echo "Running deployment..."
|
||||||
|
kargo deploy -y --ansible-opts="-e kargo/custom.yaml"
|
||||||
deploy_res=$?
|
deploy_res=$?
|
||||||
|
|
||||||
if [ "$deploy_res" -eq "0" ]; then
|
if [ "$deploy_res" -eq "0" ]; then
|
||||||
|
|
Loading…
Reference in a new issue