Browse Source

Fix path to nodes list

Aleksandr Didenko 8 years ago
parent
commit
f1e5bc81f8
1 changed files with 1 additions and 1 deletions
  1. 2
      deploy-k8s.kargo.sh

2
deploy-k8s.kargo.sh

@ -4,7 +4,7 @@ INVENTORY="kargo/inventory/inventory.cfg"
nodes="" nodes=""
i=1 i=1
for nodeip in `cat /root/nodes` ; do
for nodeip in `cat nodes` ; do
i=$(( $i+1 )) i=$(( $i+1 ))
nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]" nodes+=" node${i}[ansible_ssh_host=${nodeip},ip=${nodeip}]"
done done

Loading…
Cancel
Save