mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 09:07:47 -02:30
Fix paths to kargo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user