Fix paths to kargo

This commit is contained in:
Aleksandr Didenko 2016-06-30 15:35:00 +02:00
parent f1e5bc81f8
commit 8334a9e1e4

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
INVENTORY="kargo/inventory/inventory.cfg" INVENTORY="/root/kargo/inventory/inventory.cfg"
nodes="" nodes=""
i=1 i=1
@ -18,7 +18,7 @@ fi
echo "Running deployment..." echo "Running deployment..."
#kargo deploy -y --ansible-opts="-e @custom.yaml" #kargo deploy -y --ansible-opts="-e @custom.yaml"
ansible-playbook -i $INVENTORY kargo/cluster.yml -e @custom.yaml ansible-playbook -i $INVENTORY /root/kargo/cluster.yml -e @custom.yaml
deploy_res=$? deploy_res=$?
if [ "$deploy_res" -eq "0" ]; then if [ "$deploy_res" -eq "0" ]; then